#DFC159#DFC159
#DFC159 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.7% C 0.128 H 93.3°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #DFC159 |
|---|---|
| RGB | rgb(223, 193, 89) |
| HSL | hsl(47, 68%, 61%) |
| HSV | hsv(47, 60%, 87%) |
| CMYK | cmyk(0%, 13.5%, 60.1%, 12.5%) |
| CIE-LAB | lab(78.78, -1.43, 55.14) |
| CIE-LCH | lch(78.78, 55.16, 91.49°) |
| OKLab | oklab(81.67% -0.0073 0.1273) |
| OKLCH | oklch(81.67% 0.128 93.3) |
| XYZ | xyz(51.3068, 54.5518, 17.2763) |
| Luminance | 0.5455 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.89
Maize
#F4D054
ΔE00 4.61
Mustard
#DBB42C
ΔE00 4.93
Light Mustard
#F7D560
ΔE00 5.19
Dark Yellow
#D5B60A
ΔE00 6.01
Gold (survey)
#DBB40C
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFC159 #5977DF
analogous
#DF7E59 #DFC159 #BADF59
triadic
#DFC159 #59DFC1 #C159DF
tetradic
#DFC159 #59DF7E #5977DF #DF59BA
square
#DFC159 #59DF7E #5977DF #DF59BA
split-complementary
#DFC159 #59BADF #7E59DF
monochromatic
#9F821F #D2AC29 #DFC159 #E9D48C #F3E7C0
Accessibility & contrast
On white
1.76
#DFC159 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.91
#DFC159 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFC159
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFC159 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFC159 | 1.00 | 1.76 | 11.91 | 11.91 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BE4E
Deuteranopia (green-blind)
#DBC75E
Tritanopia (blue-blind)
#F0B3AA
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #dfc159; /* rgb */ color: rgb(223, 193, 89); /* oklch */ color: oklch(81.7% 0.128 93.3);
Tailwind
colors: {
custom: {
50: '#ecd38b',
500: '#dfc159',
950: '#000000',
},
}SCSS
$custom: #dfc159; $custom-light: #ecd38b; $custom-dark: #000000;
JSON
{
"hex": "#dfc159",
"rgb": {
"r": 223,
"g": 193,
"b": 89
},
"hsl": {
"h": 46.567,
"s": 67.677,
"l": 61.176
},
"oklch": {
"l": 0.81667,
"c": 0.12752,
"h": 93.3
},
"luminance": 0.54549
}Semantic roles & 50–950 ramp
primary
#DFC159
secondary
#3A51A2
accent
#3FD016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F