#DFD331

A color in the Yellow, Gold family

#dfd331 is a color in the Yellow, Gold family: RGB(223, 211, 49), HSL(56°, 73%, 53%), CMYK(0%, 5%, 78%, 13%). Closest named color: gold. Contrast is 1.56:1 on white and 13.5:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd331
RGBrgb(223 211 49)
RGB (legacy)rgb(223, 211, 49)
RGB %rgb(87% 83% 19%)
HSLhsl(56 73% 53%)
HSV / HSBhsv(56, 78%, 87%)
HWBhwb(56 19% 13%)
CMYKcmyk(0%, 5%, 78%, 13%)
CIELAB (D50)lab(83.6 -7.97 74.28)
LCHlch(83.6 74.7 96.12)
OKLaboklab(0.8507 -0.0434 0.1624)
OKLCHoklch(0.8507 0.1681 104.96)
Decimal14668593

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 4.9
Closest web-safe color#cccc33
Hue56°
Saturation (HSL / HSV)73% / 78%
Lightness (HSL)53%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)77% / 79%
Relative luminance (WCAG)0.625
Red / Green / Blue223 / 211 / 49

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.56:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
13.50:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 25.3 / -77.7 · As background with white / black text: Lc -28.7 / 78.4

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #dfd331;
  --color-brand-oklch: oklch(85.07% 0.1681 104.96);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 211 49 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd331] text-[#dfd331] border-[#dfd331]">