#D2C953#D2C953
#D2C953 is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.1% C 0.139 H 104.9°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C953 |
|---|---|
| RGB | rgb(210, 201, 83) |
| HSL | hsl(56, 59%, 57%) |
| HSV | hsv(56, 60%, 82%) |
| CMYK | cmyk(0%, 4.3%, 60.5%, 17.6%) |
| CIE-LAB | lab(79.67, -11.38, 58.48) |
| CIE-LCH | lch(79.67, 59.58, 101.01°) |
| OKLab | oklab(82.08% -0.0357 0.1339) |
| OKLCH | oklch(82.08% 0.139 104.9) |
| XYZ | xyz(49.0280, 56.1011, 16.4280) |
| Luminance | 0.5610 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 4.88
Vomit Yellow
#C7C10C
ΔE00 4.99
Puke Yellow
#C2BE0E
ΔE00 5.28
Ugly Yellow
#D0C101
ΔE00 5.44
Dull Yellow
#EEDC5B
ΔE00 5.48
Mustard Yellow
#D2BD0A
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C953 #535CD2
analogous
#D28A53 #D2C953 #9CD253
triadic
#D2C953 #53D2C9 #C953D2
tetradic
#D2C953 #53D28A #535CD2 #D2539C
square
#D2C953 #53D28A #535CD2 #D2539C
split-complementary
#D2C953 #539CD2 #8A53D2
monochromatic
#878023 #B8AE30 #D2C953 #DFD884 #EBE7B4
Accessibility & contrast
On white
1.72
#D2C953 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.22
#D2C953 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C953
12.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C953 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C953 | 1.00 | 1.72 | 12.22 | 12.22 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C246
Deuteranopia (green-blind)
#DDC85A
Tritanopia (blue-blind)
#E0BDB0
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #d2c953; /* rgb */ color: rgb(210, 201, 83); /* oklch */ color: oklch(82.1% 0.139 104.9);
Tailwind
colors: {
custom: {
50: '#e3d988',
500: '#d2c953',
950: '#000000',
},
}SCSS
$custom: #d2c953; $custom-light: #e3d988; $custom-dark: #000000;
JSON
{
"hex": "#d2c953",
"rgb": {
"r": 210,
"g": 201,
"b": 83
},
"hsl": {
"h": 55.748,
"s": 58.525,
"l": 57.451
},
"oklch": {
"l": 0.82083,
"c": 0.13863,
"h": 104.9
},
"luminance": 0.56099
}Semantic roles & 50–950 ramp
primary
#D2C953
secondary
#3B418E
accent
#51E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F