#D2C552#D2C552
#D2C552 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.136 H 102.9°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C552 |
|---|---|
| RGB | rgb(210, 197, 82) |
| HSL | hsl(54, 59%, 57%) |
| HSV | hsv(54, 61%, 82%) |
| CMYK | cmyk(0%, 6.2%, 61%, 17.6%) |
| CIE-LAB | lab(78.60, -9.41, 57.75) |
| CIE-LCH | lch(78.60, 58.51, 99.26°) |
| OKLab | oklab(81.23% -0.0302 0.1323) |
| OKLCH | oklch(81.23% 0.136 102.9) |
| XYZ | xyz(48.0694, 54.2452, 15.9193) |
| Luminance | 0.5424 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 5.06
Vomit Yellow
#C7C10C
ΔE00 5.08
Ugly Yellow
#D0C101
ΔE00 5.15
Puke Yellow
#C2BE0E
ΔE00 5.32
Mustard Yellow
#D2BD0A
ΔE00 5.39
Olive Yellow
#C2B709
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C552 #525FD2
analogous
#D28552 #D2C552 #9FD252
triadic
#D2C552 #52D2C5 #C552D2
tetradic
#D2C552 #52D285 #525FD2 #D2529F
square
#D2C552 #52D285 #525FD2 #D2529F
split-complementary
#D2C552 #529FD2 #8552D2
monochromatic
#877C23 #B7A930 #D2C552 #DFD583 #EBE6B3
Accessibility & contrast
On white
1.77
#D2C552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.85
#D2C552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C552
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C552 | 1.00 | 1.77 | 11.85 | 11.85 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BF45
Deuteranopia (green-blind)
#DAC558
Tritanopia (blue-blind)
#E1B8AC
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d2c552; /* rgb */ color: rgb(210, 197, 82); /* oklch */ color: oklch(81.2% 0.136 102.9);
Tailwind
colors: {
custom: {
50: '#e3d687',
500: '#d2c552',
950: '#000000',
},
}SCSS
$custom: #d2c552; $custom-light: #e3d687; $custom-dark: #000000;
JSON
{
"hex": "#d2c552",
"rgb": {
"r": 210,
"g": 197,
"b": 82
},
"hsl": {
"h": 53.906,
"s": 58.716,
"l": 57.255
},
"oklch": {
"l": 0.81232,
"c": 0.13568,
"h": 102.9
},
"luminance": 0.54243
}Semantic roles & 50–950 ramp
primary
#D2C552
secondary
#3B438D
accent
#56E246
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F