#D7C066#D7C066
#D7C066 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.9% C 0.114 H 95.3°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C066 |
|---|---|
| RGB | rgb(215, 192, 102) |
| HSL | hsl(48, 59%, 62%) |
| HSV | hsv(48, 53%, 84%) |
| CMYK | cmyk(0%, 10.7%, 52.6%, 15.7%) |
| CIE-LAB | lab(77.94, -3.24, 47.85) |
| CIE-LCH | lch(77.94, 47.96, 93.88°) |
| OKLab | oklab(80.87% -0.0106 0.1131) |
| OKLCH | oklch(80.87% 0.114 95.3) |
| XYZ | xyz(49.2740, 53.1078, 20.2231) |
| Luminance | 0.5311 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.81
Desert
#CCAD60
ΔE00 5.74
Tan (survey)
#D1B26F
ΔE00 5.97
Darkkhaki
#BDB76B
ΔE00 6.22
Sandy
#F1DA7A
ΔE00 6.25
Maize
#F4D054
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C066 #667DD7
analogous
#D78866 #D7C066 #B5D766
triadic
#D7C066 #66D7C0 #C066D7
tetradic
#D7C066 #66D788 #667DD7 #D766B5
square
#D7C066 #66D788 #667DD7 #D766B5
split-complementary
#D7C066 #66B5D7 #8866D7
monochromatic
#9A8328 #CAAC35 #D7C066 #E4D497 #F0E8C7
Accessibility & contrast
On white
1.81
#D7C066 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.62
#D7C066 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C066
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C066 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C066 | 1.00 | 1.81 | 11.62 | 11.62 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BC5E
Deuteranopia (green-blind)
#D6C46A
Tritanopia (blue-blind)
#E6B4AB
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d7c066; /* rgb */ color: rgb(215, 192, 102); /* oklch */ color: oklch(80.9% 0.114 95.3);
Tailwind
colors: {
custom: {
50: '#e6d294',
500: '#d7c066',
950: '#000000',
},
}SCSS
$custom: #d7c066; $custom-light: #e6d294; $custom-dark: #000000;
JSON
{
"hex": "#d7c066",
"rgb": {
"r": 215,
"g": 192,
"b": 102
},
"hsl": {
"h": 47.788,
"s": 58.549,
"l": 62.157
},
"oklch": {
"l": 0.80874,
"c": 0.11362,
"h": 95.3
},
"luminance": 0.53106
}Semantic roles & 50–950 ramp
primary
#D7C066
secondary
#42559F
accent
#41C61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F