#DFC04D#DFC04D
#DFC04D is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.3% C 0.136 H 94.0°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #DFC04D |
|---|---|
| RGB | rgb(223, 192, 77) |
| HSL | hsl(47, 70%, 59%) |
| HSV | hsv(47, 65%, 87%) |
| CMYK | cmyk(0%, 13.9%, 65.5%, 12.5%) |
| CIE-LAB | lab(78.42, -1.68, 60.05) |
| CIE-LCH | lch(78.42, 60.07, 91.60°) |
| OKLab | oklab(81.35% -0.0095 0.1361) |
| OKLCH | oklch(81.35% 0.136 94) |
| XYZ | xyz(50.6231, 53.9257, 14.7620) |
| Luminance | 0.5392 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.94
Maize
#F4D054
ΔE00 4.32
Dark Yellow
#D5B60A
ΔE00 4.74
Gold (survey)
#DBB40C
ΔE00 4.93
Sand (survey)
#E2CA76
ΔE00 5.15
Light Mustard
#F7D560
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFC04D #4D6CDF
analogous
#DF774D #DFC04D #B5DF4D
triadic
#DFC04D #4DDFC0 #C04DDF
tetradic
#DFC04D #4DDF77 #4D6CDF #DF4DB5
square
#DFC04D #4DDF77 #4D6CDF #DF4DB5
split-complementary
#DFC04D #4DB5DF #774DDF
monochromatic
#977C1B #CAA724 #DFC04D #E8D281 #F2E5B5
Accessibility & contrast
On white
1.78
#DFC04D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.78
#DFC04D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFC04D
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFC04D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFC04D | 1.00 | 1.78 | 11.78 | 11.78 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BD3F
Deuteranopia (green-blind)
#DBC653
Tritanopia (blue-blind)
#F0B2A8
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #dfc04d; /* rgb */ color: rgb(223, 192, 77); /* oklch */ color: oklch(81.3% 0.136 94.0);
Tailwind
colors: {
custom: {
50: '#edd284',
500: '#dfc04d',
950: '#000000',
},
}SCSS
$custom: #dfc04d; $custom-light: #edd284; $custom-dark: #000000;
JSON
{
"hex": "#dfc04d",
"rgb": {
"r": 223,
"g": 192,
"b": 77
},
"hsl": {
"h": 47.26,
"s": 69.524,
"l": 58.824
},
"oklch": {
"l": 0.81345,
"c": 0.13638,
"h": 94
},
"luminance": 0.53923
}Semantic roles & 50–950 ramp
primary
#DFC04D
secondary
#354B9B
accent
#61EC3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E