#D2C577#D2C577
#D2C577 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.100 H 100.0°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C577 |
|---|---|
| RGB | rgb(210, 197, 119) |
| HSL | hsl(51, 50%, 65%) |
| HSV | hsv(51, 43%, 82%) |
| CMYK | cmyk(0%, 6.2%, 43.3%, 17.6%) |
| CIE-LAB | lab(79.02, -6.29, 40.66) |
| CIE-LCH | lch(79.02, 41.15, 98.79°) |
| OKLab | oklab(81.7% -0.0174 0.0985) |
| OKLCH | oklch(81.7% 0.1 100) |
| XYZ | xyz(49.8755, 54.9676, 25.4317) |
| Luminance | 0.5497 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.69
Darkkhaki
#BDB76B
ΔE00 4.49
Greenish Beige
#C9D179
ΔE00 6.18
Sandy
#F1DA7A
ΔE00 6.50
Sand
#C2B280
ΔE00 7.30
Tan (survey)
#D1B26F
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C577 #7784D2
analogous
#D29877 #D2C577 #B1D277
triadic
#D2C577 #77D2C5 #C577D2
tetradic
#D2C577 #77D298 #7784D2 #D277B1
square
#D2C577 #77D298 #7784D2 #D277B1
split-complementary
#D2C577 #77B1D2 #9877D2
monochromatic
#9B8C33 #C3B149 #D2C577 #E1D9A5 #F0ECD3
Accessibility & contrast
On white
1.75
#D2C577 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.99
#D2C577 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C577
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C577 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C577 | 1.00 | 1.75 | 11.99 | 11.99 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3C171
Deuteranopia (green-blind)
#D6C67A
Tritanopia (blue-blind)
#DEBBB2
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d2c577; /* rgb */ color: rgb(210, 197, 119); /* oklch */ color: oklch(81.7% 0.100 100.0);
Tailwind
colors: {
custom: {
50: '#e1d69f',
500: '#d2c577',
950: '#000000',
},
}SCSS
$custom: #d2c577; $custom-light: #e1d69f; $custom-dark: #000000;
JSON
{
"hex": "#d2c577",
"rgb": {
"r": 210,
"g": 197,
"b": 119
},
"hsl": {
"h": 51.429,
"s": 50.276,
"l": 64.51
},
"oklch": {
"l": 0.81699,
"c": 0.10002,
"h": 100
},
"luminance": 0.54966
}Semantic roles & 50–950 ramp
primary
#D2C577
secondary
#4D59A0
accent
#3DBE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380