#D7C767#D7C767
#D7C767 is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.3% C 0.119 H 100.0°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C767 |
|---|---|
| RGB | rgb(215, 199, 103) |
| HSL | hsl(51, 58%, 62%) |
| HSV | hsv(51, 52%, 84%) |
| CMYK | cmyk(0%, 7.4%, 52.1%, 15.7%) |
| CIE-LAB | lab(79.77, -6.77, 49.55) |
| CIE-LCH | lch(79.77, 50.01, 97.78°) |
| OKLab | oklab(82.33% -0.0206 0.1169) |
| OKLCH | oklch(82.33% 0.119 100) |
| XYZ | xyz(50.8976, 56.2751, 21.0105) |
| Luminance | 0.5627 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.33
Sandy
#F1DA7A
ΔE00 5.18
Darkkhaki
#BDB76B
ΔE00 6.15
Dull Yellow
#EEDC5B
ΔE00 6.31
Light Mustard
#F7D560
ΔE00 6.67
Maize
#F4D054
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C767 #6777D7
analogous
#D78F67 #D7C767 #AFD767
triadic
#D7C767 #67D7C7 #C767D7
tetradic
#D7C767 #67D78F #6777D7 #D767AF
square
#D7C767 #67D78F #6777D7 #D767AF
split-complementary
#D7C767 #67AFD7 #8F67D7
monochromatic
#9B8B29 #CAB537 #D7C767 #E4D997 #F0EBC8
Accessibility & contrast
On white
1.71
#D7C767 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.25
#D7C767 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C767
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C767 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C767 | 1.00 | 1.71 | 12.25 | 12.25 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C25E
Deuteranopia (green-blind)
#DBC96B
Tritanopia (blue-blind)
#E5BBB1
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #d7c767; /* rgb */ color: rgb(215, 199, 103); /* oklch */ color: oklch(82.3% 0.119 100.0);
Tailwind
colors: {
custom: {
50: '#e5d795',
500: '#d7c767',
950: '#000000',
},
}SCSS
$custom: #d7c767; $custom-light: #e5d795; $custom-dark: #000000;
JSON
{
"hex": "#d7c767",
"rgb": {
"r": 215,
"g": 199,
"b": 103
},
"hsl": {
"h": 51.429,
"s": 58.333,
"l": 62.353
},
"oklch": {
"l": 0.82328,
"c": 0.11873,
"h": 100
},
"luminance": 0.56273
}Semantic roles & 50–950 ramp
primary
#D7C767
secondary
#43509F
accent
#37C620
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F