#D2C075#D2C075
#D2C075 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.097 H 96.3°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C075 |
|---|---|
| RGB | rgb(210, 192, 117) |
| HSL | hsl(48, 51%, 64%) |
| HSV | hsv(48, 44%, 82%) |
| CMYK | cmyk(0%, 8.6%, 44.3%, 17.6%) |
| CIE-LAB | lab(77.69, -3.90, 40.00) |
| CIE-LCH | lch(77.69, 40.19, 95.57°) |
| OKLab | oklab(80.64% -0.0106 0.0969) |
| OKLCH | oklch(80.64% 0.097 96.3) |
| XYZ | xyz(48.6401, 52.6870, 24.4336) |
| Luminance | 0.5269 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.44
Darkkhaki
#BDB76B
ΔE00 4.68
Tan (survey)
#D1B26F
ΔE00 5.46
Desert
#CCAD60
ΔE00 5.96
Sand
#C2B280
ΔE00 6.14
Sandstone
#C9AE74
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C075 #7587D2
analogous
#D29275 #D2C075 #B6D275
triadic
#D2C075 #75D2C0 #C075D2
tetradic
#D2C075 #75D292 #7587D2 #D275B6
square
#D2C075 #75D292 #7587D2 #D275B6
split-complementary
#D2C075 #75B6D2 #9275D2
monochromatic
#9A8632 #C3AB47 #D2C075 #E1D5A3 #F0EAD1
Accessibility & contrast
On white
1.82
#D2C075 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.54
#D2C075 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C075
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C075 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C075 | 1.00 | 1.82 | 11.54 | 11.54 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBD6F
Deuteranopia (green-blind)
#D3C378
Tritanopia (blue-blind)
#DFB6AE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d2c075; /* rgb */ color: rgb(210, 192, 117); /* oklch */ color: oklch(80.6% 0.097 96.3);
Tailwind
colors: {
custom: {
50: '#e1d29e',
500: '#d2c075',
950: '#000000',
},
}SCSS
$custom: #d2c075; $custom-light: #e1d29e; $custom-dark: #000000;
JSON
{
"hex": "#d2c075",
"rgb": {
"r": 210,
"g": 192,
"b": 117
},
"hsl": {
"h": 48.387,
"s": 50.82,
"l": 64.118
},
"oklch": {
"l": 0.80635,
"c": 0.09746,
"h": 96.3
},
"luminance": 0.52685
}Semantic roles & 50–950 ramp
primary
#D2C075
secondary
#4C5C9F
accent
#45BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F