#D6C87D#D6C87D
#D6C87D is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.8% C 0.097 H 99.0°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #D6C87D |
|---|---|
| RGB | rgb(214, 200, 125) |
| HSL | hsl(51, 52%, 66%) |
| HSV | hsv(51, 42%, 84%) |
| CMYK | cmyk(0%, 6.5%, 41.6%, 16.1%) |
| CIE-LAB | lab(80.23, -5.61, 39.23) |
| CIE-LCH | lch(80.23, 39.62, 98.14°) |
| OKLab | oklab(82.76% -0.0151 0.0955) |
| OKLCH | oklch(82.76% 0.097 99) |
| XYZ | xyz(52.0886, 57.0870, 27.6731) |
| Luminance | 0.5708 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.29
Darkkhaki
#BDB76B
ΔE00 5.37
Sandy
#F1DA7A
ΔE00 5.99
Greenish Beige
#C9D179
ΔE00 6.41
Beige (survey)
#E6DAA6
ΔE00 6.58
Khaki (CSS)
#F0E68C
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D6C87D #7D8BD6
analogous
#D69C7D #D6C87D #B8D67D
triadic
#D6C87D #7DD6C8 #C87DD6
tetradic
#D6C87D #7DD69C #7D8BD6 #D67DB8
square
#D6C87D #7DD69C #7D8BD6 #D67DB8
split-complementary
#D6C87D #7DB8D6 #9C7DD6
monochromatic
#A59334 #C7B44E #D6C87D #E5DCAC #F3EFDA
Accessibility & contrast
On white
1.69
#D6C87D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.42
#D6C87D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D6C87D
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D6C87D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D6C87D | 1.00 | 1.69 | 12.42 | 12.42 |
| #FFFFFF | 1.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C477
Deuteranopia (green-blind)
#D9C980
Tritanopia (blue-blind)
#E2BEB5
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #d6c87d; /* rgb */ color: rgb(214, 200, 125); /* oklch */ color: oklch(82.8% 0.097 99.0);
Tailwind
colors: {
custom: {
50: '#e4d8a3',
500: '#d6c87d',
950: '#000000',
},
}SCSS
$custom: #d6c87d; $custom-light: #e4d8a3; $custom-dark: #000000;
JSON
{
"hex": "#d6c87d",
"rgb": {
"r": 214,
"g": 200,
"b": 125
},
"hsl": {
"h": 50.562,
"s": 52.047,
"l": 66.471
},
"oklch": {
"l": 0.82763,
"c": 0.09671,
"h": 99
},
"luminance": 0.57085
}Semantic roles & 50–950 ramp
primary
#D6C87D
secondary
#4F5DA9
accent
#3EBF26
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140F
muted
#848380