#D2CC5E#D2CC5E
#D2CC5E is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.132 H 106.1°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CC5E |
|---|---|
| RGB | rgb(210, 204, 94) |
| HSL | hsl(57, 56%, 60%) |
| HSV | hsv(57, 55%, 82%) |
| CMYK | cmyk(0%, 2.9%, 55.2%, 17.6%) |
| CIE-LAB | lab(80.57, -12.10, 54.58) |
| CIE-LCH | lch(80.57, 55.91, 102.50°) |
| OKLab | oklab(82.83% -0.0366 0.127) |
| OKLCH | oklch(82.83% 0.132 106.1) |
| XYZ | xyz(50.1931, 57.6971, 19.0802) |
| Luminance | 0.5770 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.33
Dull Yellow
#EEDC5B
ΔE00 5.69
Dirty Yellow
#CDC50A
ΔE00 6.17
Vomit Yellow
#C7C10C
ΔE00 6.25
Sand (survey)
#E2CA76
ΔE00 6.37
Puke Yellow
#C2BE0E
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CC5E #5E64D2
analogous
#D2925E #D2CC5E #9ED25E
triadic
#D2CC5E #5ED2CC #CC5ED2
tetradic
#D2CC5E #5ED292 #5E64D2 #D25E9E
square
#D2CC5E #5ED292 #5E64D2 #D25E9E
split-complementary
#D2CC5E #5E9ED2 #925ED2
monochromatic
#8E8928 #BEB735 #D2CC5E #DFDB8E #EDEABE
Accessibility & contrast
On white
1.67
#D2CC5E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.54
#D2CC5E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CC5E
12.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CC5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CC5E | 1.00 | 1.67 | 12.54 | 12.54 |
| #FFFFFF | 1.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC553
Deuteranopia (green-blind)
#DECA64
Tritanopia (blue-blind)
#E0C0B4
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #d2cc5e; /* rgb */ color: rgb(210, 204, 94); /* oklch */ color: oklch(82.8% 0.132 106.1);
Tailwind
colors: {
custom: {
50: '#e2db8f',
500: '#d2cc5e',
950: '#000000',
},
}SCSS
$custom: #d2cc5e; $custom-light: #e2db8f; $custom-dark: #000000;
JSON
{
"hex": "#d2cc5e",
"rgb": {
"r": 210,
"g": 204,
"b": 94
},
"hsl": {
"h": 56.897,
"s": 56.311,
"l": 59.608
},
"oklch": {
"l": 0.82831,
"c": 0.13215,
"h": 106.1
},
"luminance": 0.57696
}Semantic roles & 50–950 ramp
primary
#D2CC5E
secondary
#404594
accent
#50E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F