#D9C552#D9C552
#D9C552 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.9% C 0.136 H 99.5°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C552 |
|---|---|
| RGB | rgb(217, 197, 82) |
| HSL | hsl(51, 64%, 59%) |
| HSV | hsv(51, 62%, 85%) |
| CMYK | cmyk(0%, 9.2%, 62.2%, 14.9%) |
| CIE-LAB | lab(79.21, -6.48, 58.58) |
| CIE-LCH | lch(79.21, 58.94, 96.31°) |
| OKLab | oklab(81.86% -0.0223 0.1339) |
| OKLCH | oklch(81.86% 0.136 99.5) |
| XYZ | xyz(50.1066, 55.2956, 16.0148) |
| Luminance | 0.5529 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.92
Mustard Yellow
#D2BD0A
ΔE00 4.95
Ugly Yellow
#D0C101
ΔE00 5.22
Maize
#F4D054
ΔE00 5.41
Dull Yellow
#EEDC5B
ΔE00 5.55
Dirty Yellow
#CDC50A
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C552 #5266D9
analogous
#D98152 #D9C552 #A9D952
triadic
#D9C552 #52D9C5 #C552D9
tetradic
#D9C552 #52D981 #5266D9 #D952A9
square
#D9C552 #52D981 #5266D9 #D952A9
split-complementary
#D9C552 #52A9D9 #8152D9
monochromatic
#918020 #C3AC2B #D9C552 #E4D684 #EFE7B6
Accessibility & contrast
On white
1.74
#D9C552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.06
#D9C552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C552
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C552 | 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)
#D7C045
Deuteranopia (green-blind)
#DCC758
Tritanopia (blue-blind)
#E9B8AC
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d9c552; /* rgb */ color: rgb(217, 197, 82); /* oklch */ color: oklch(81.9% 0.136 99.5);
Tailwind
colors: {
custom: {
50: '#e8d687',
500: '#d9c552',
950: '#000000',
},
}SCSS
$custom: #d9c552; $custom-light: #e8d687; $custom-dark: #000000;
JSON
{
"hex": "#d9c552",
"rgb": {
"r": 217,
"g": 197,
"b": 82
},
"hsl": {
"h": 51.111,
"s": 63.981,
"l": 58.627
},
"oklch": {
"l": 0.81858,
"c": 0.1357,
"h": 99.5
},
"luminance": 0.55293
}Semantic roles & 50–950 ramp
primary
#D9C552
secondary
#394796
accent
#59E741
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F