#D2C07D#D2C07D
#D2C07D is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.8% C 0.089 H 94.9°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C07D |
|---|---|
| RGB | rgb(210, 192, 125) |
| HSL | hsl(47, 49%, 66%) |
| HSV | hsv(47, 40%, 82%) |
| CMYK | cmyk(0%, 8.6%, 40.5%, 17.6%) |
| CIE-LAB | lab(77.81, -3.06, 36.06) |
| CIE-LCH | lch(77.81, 36.19, 94.85°) |
| OKLab | oklab(80.77% -0.0075 0.0883) |
| OKLCH | oklch(80.77% 0.089 94.9) |
| XYZ | xyz(49.1307, 52.8832, 27.0175) |
| Luminance | 0.5288 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.17
Sand
#C2B280
ΔE00 5.06
Tan (survey)
#D1B26F
ΔE00 5.10
Darkkhaki
#BDB76B
ΔE00 5.14
Sandstone
#C9AE74
ΔE00 5.65
Very Light Brown
#D3B683
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C07D #7D8FD2
analogous
#D2957D #D2C07D #B9D27D
triadic
#D2C07D #7DD2C0 #C07DD2
tetradic
#D2C07D #7DD295 #7D8FD2 #D27DB9
square
#D2C07D #7DD295 #7D8FD2 #D27DB9
split-complementary
#D2C07D #7DB9D2 #957DD2
monochromatic
#9E8837 #C2AA50 #D2C07D #E2D6AA #F1ECD8
Accessibility & contrast
On white
1.81
#D2C07D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.58
#D2C07D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C07D
11.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C07D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C07D | 1.00 | 1.81 | 11.58 | 11.58 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBD78
Deuteranopia (green-blind)
#D2C37F
Tritanopia (blue-blind)
#DEB6AF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d2c07d; /* rgb */ color: rgb(210, 192, 125); /* oklch */ color: oklch(80.8% 0.089 94.9);
Tailwind
colors: {
custom: {
50: '#e1d2a3',
500: '#d2c07d',
950: '#000000',
},
}SCSS
$custom: #d2c07d; $custom-light: #e1d2a3; $custom-dark: #000000;
JSON
{
"hex": "#d2c07d",
"rgb": {
"r": 210,
"g": 192,
"b": 125
},
"hsl": {
"h": 47.294,
"s": 48.571,
"l": 65.686
},
"oklch": {
"l": 0.80765,
"c": 0.08865,
"h": 94.9
},
"luminance": 0.52882
}Semantic roles & 50–950 ramp
primary
#D2C07D
secondary
#5062A3
accent
#49BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380