#D7CA6B#D7CA6B
#D7CA6B is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.118 H 101.6°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).
Color values
| HEX | #D7CA6B |
|---|---|
| RGB | rgb(215, 202, 107) |
| HSL | hsl(53, 57%, 63%) |
| HSV | hsv(53, 50%, 84%) |
| CMYK | cmyk(0%, 6%, 50.2%, 15.7%) |
| CIE-LAB | lab(80.60, -7.97, 48.62) |
| CIE-LCH | lch(80.60, 49.27, 99.31°) |
| OKLab | oklab(83% -0.0236 0.1153) |
| OKLCH | oklch(83% 0.118 101.6) |
| XYZ | xyz(51.8002, 57.7514, 22.3256) |
| Luminance | 0.5775 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.76
Sandy
#F1DA7A
ΔE00 5.02
Greenish Beige
#C9D179
ΔE00 5.97
Dull Yellow
#EEDC5B
ΔE00 6.10
Darkkhaki
#BDB76B
ΔE00 6.20
Khaki (CSS)
#F0E68C
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7CA6B #6B78D7
analogous
#D7946B #D7CA6B #AED76B
triadic
#D7CA6B #6BD7CA #CA6BD7
tetradic
#D7CA6B #6BD794 #6B78D7 #D76BAE
square
#D7CA6B #6BD794 #6B78D7 #D76BAE
split-complementary
#D7CA6B #6BAED7 #946BD7
monochromatic
#9D8F2A #CAB93B #D7CA6B #E4DB9B #F1EDCB
Accessibility & contrast
On white
1.67
#D7CA6B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.55
#D7CA6B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7CA6B
12.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7CA6B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7CA6B | 1.00 | 1.67 | 12.55 | 12.55 |
| #FFFFFF | 1.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C563
Deuteranopia (green-blind)
#DDCB6F
Tritanopia (blue-blind)
#E5BFB4
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #d7ca6b; /* rgb */ color: rgb(215, 202, 107); /* oklch */ color: oklch(83.0% 0.118 101.6);
Tailwind
colors: {
custom: {
50: '#e5d997',
500: '#d7ca6b',
950: '#000000',
},
}SCSS
$custom: #d7ca6b; $custom-light: #e5d997; $custom-dark: #000000;
JSON
{
"hex": "#d7ca6b",
"rgb": {
"r": 215,
"g": 202,
"b": 107
},
"hsl": {
"h": 52.778,
"s": 57.447,
"l": 63.137
},
"oklch": {
"l": 0.83001,
"c": 0.11765,
"h": 101.6
},
"luminance": 0.5775
}Semantic roles & 50–950 ramp
primary
#D7CA6B
secondary
#4550A1
accent
#34C520
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F