#DDC052#DDC052
#DDC052 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.2% C 0.132 H 94.5°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #DDC052 |
|---|---|
| RGB | rgb(221, 192, 82) |
| HSL | hsl(47, 67%, 59%) |
| HSV | hsv(47, 63%, 87%) |
| CMYK | cmyk(0%, 13.1%, 62.9%, 13.3%) |
| CIE-LAB | lab(78.28, -2.22, 57.67) |
| CIE-LCH | lch(78.28, 57.71, 92.20°) |
| OKLab | oklab(81.2% -0.0103 0.1318) |
| OKLCH | oklch(81.2% 0.132 94.5) |
| XYZ | xyz(50.1937, 53.6832, 15.6990) |
| Luminance | 0.5368 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.46
Sand (survey)
#E2CA76
ΔE00 4.59
Maize
#F4D054
ΔE00 4.68
Dark Yellow
#D5B60A
ΔE00 5.19
Light Mustard
#F7D560
ΔE00 5.41
Gold (survey)
#DBB40C
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DDC052 #526FDD
analogous
#DD7B52 #DDC052 #B5DD52
triadic
#DDC052 #52DDC0 #C052DD
tetradic
#DDC052 #52DD7B #526FDD #DD52B5
square
#DDC052 #52DD7B #526FDD #DD52B5
split-complementary
#DDC052 #52B5DD #7B52DD
monochromatic
#977E1E #CAA828 #DDC052 #E7D385 #F1E5B8
Accessibility & contrast
On white
1.79
#DDC052 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.74
#DDC052 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DDC052
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DDC052 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DDC052 | 1.00 | 1.79 | 11.74 | 11.74 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BC46
Deuteranopia (green-blind)
#DAC557
Tritanopia (blue-blind)
#EEB2A8
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #ddc052; /* rgb */ color: rgb(221, 192, 82); /* oklch */ color: oklch(81.2% 0.132 94.5);
Tailwind
colors: {
custom: {
50: '#ebd287',
500: '#ddc052',
950: '#000000',
},
}SCSS
$custom: #ddc052; $custom-light: #ebd287; $custom-dark: #000000;
JSON
{
"hex": "#ddc052",
"rgb": {
"r": 221,
"g": 192,
"b": 82
},
"hsl": {
"h": 47.482,
"s": 67.15,
"l": 59.412
},
"oklch": {
"l": 0.81203,
"c": 0.13221,
"h": 94.5
},
"luminance": 0.53681
}Semantic roles & 50–950 ramp
primary
#DDC052
secondary
#384D9B
accent
#62EA3E
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F