#DFC052#DFC052
#DFC052 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.4% C 0.133 H 93.5°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #DFC052 |
|---|---|
| RGB | rgb(223, 192, 82) |
| HSL | hsl(47, 69%, 60%) |
| HSV | hsv(47, 63%, 87%) |
| CMYK | cmyk(0%, 13.9%, 63.2%, 12.5%) |
| CIE-LAB | lab(78.46, -1.37, 57.93) |
| CIE-LCH | lch(78.46, 57.94, 91.36°) |
| OKLab | oklab(81.39% -0.008 0.1323) |
| OKLCH | oklch(81.39% 0.133 93.5) |
| XYZ | xyz(50.8064, 53.9991, 15.7278) |
| Luminance | 0.5400 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.23
Maize
#F4D054
ΔE00 4.45
Sand (survey)
#E2CA76
ΔE00 4.67
Light Mustard
#F7D560
ΔE00 5.23
Dark Yellow
#D5B60A
ΔE00 5.25
Gold (survey)
#DBB40C
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFC052 #5271DF
analogous
#DF7A52 #DFC052 #B7DF52
triadic
#DFC052 #52DFC0 #C052DF
tetradic
#DFC052 #52DF7A #5271DF #DF52B7
square
#DFC052 #52DF7A #5271DF #DF52B7
split-complementary
#DFC052 #52B7DF #7A52DF
monochromatic
#9A7E1D #CEA926 #DFC052 #E9D386 #F2E6B9
Accessibility & contrast
On white
1.78
#DFC052 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.80
#DFC052 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFC052
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFC052 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFC052 | 1.00 | 1.78 | 11.80 | 11.80 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BD46
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#F0B2A8
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #dfc052; /* rgb */ color: rgb(223, 192, 82); /* oklch */ color: oklch(81.4% 0.133 93.5);
Tailwind
colors: {
custom: {
50: '#ecd287',
500: '#dfc052',
950: '#000000',
},
}SCSS
$custom: #dfc052; $custom-light: #ecd287; $custom-dark: #000000;
JSON
{
"hex": "#dfc052",
"rgb": {
"r": 223,
"g": 192,
"b": 82
},
"hsl": {
"h": 46.809,
"s": 68.78,
"l": 59.804
},
"oklch": {
"l": 0.81393,
"c": 0.13254,
"h": 93.5
},
"luminance": 0.53996
}Semantic roles & 50–950 ramp
primary
#DFC052
secondary
#374E9E
accent
#63EC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F