#DCC452#DCC452
#DCC452 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.9% C 0.135 H 97.4°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC452 |
|---|---|
| RGB | rgb(220, 196, 82) |
| HSL | hsl(50, 66%, 59%) |
| HSV | hsv(50, 63%, 86%) |
| CMYK | cmyk(0%, 10.9%, 62.7%, 13.7%) |
| CIE-LAB | lab(79.22, -4.71, 58.67) |
| CIE-LCH | lch(79.22, 58.86, 94.59°) |
| OKLab | oklab(81.93% -0.0174 0.134) |
| OKLCH | oklch(81.93% 0.135 97.4) |
| XYZ | xyz(50.7803, 55.3071, 15.9816) |
| Luminance | 0.5531 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.61
Maize
#F4D054
ΔE00 4.67
Mustard Yellow
#D2BD0A
ΔE00 5.05
Light Mustard
#F7D560
ΔE00 5.18
Dark Yellow
#D5B60A
ΔE00 5.55
Ugly Yellow
#D0C101
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC452 #526ADC
analogous
#DC7F52 #DCC452 #AFDC52
triadic
#DCC452 #52DCC4 #C452DC
tetradic
#DCC452 #52DC7F #526ADC #DC52AF
square
#DCC452 #52DC7F #526ADC #DC52AF
split-complementary
#DCC452 #52AFDC #7F52DC
monochromatic
#95811E #C8AC29 #DCC452 #E6D585 #F1E7B8
Accessibility & contrast
On white
1.74
#DCC452 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.06
#DCC452 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC452
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC452 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC452 | 1.00 | 1.74 | 12.06 | 12.06 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C045
Deuteranopia (green-blind)
#DCC858
Tritanopia (blue-blind)
#ECB6AC
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #dcc452; /* rgb */ color: rgb(220, 196, 82); /* oklch */ color: oklch(81.9% 0.135 97.4);
Tailwind
colors: {
custom: {
50: '#ead587',
500: '#dcc452',
950: '#000000',
},
}SCSS
$custom: #dcc452; $custom-light: #ead587; $custom-dark: #000000;
JSON
{
"hex": "#dcc452",
"rgb": {
"r": 220,
"g": 196,
"b": 82
},
"hsl": {
"h": 49.565,
"s": 66.346,
"l": 59.216
},
"oklch": {
"l": 0.81927,
"c": 0.13508,
"h": 97.4
},
"luminance": 0.55305
}Semantic roles & 50–950 ramp
primary
#DCC452
secondary
#38499A
accent
#5CE93F
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F