#D7CF76#D7CF76
#D7CF76 is a very light, moderate yellow. Relative luminance 0.604; OKLCH L 84.2% C 0.111 H 104.0°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).
Color values
| HEX | #D7CF76 |
|---|---|
| RGB | rgb(215, 207, 118) |
| HSL | hsl(55, 55%, 65%) |
| HSV | hsv(55, 45%, 84%) |
| CMYK | cmyk(0%, 3.7%, 45.1%, 15.7%) |
| CIE-LAB | lab(82.05, -9.50, 45.02) |
| CIE-LCH | lch(82.05, 46.01, 101.91°) |
| OKLab | oklab(84.19% -0.0269 0.1081) |
| OKLCH | oklch(84.19% 0.111 104) |
| XYZ | xyz(53.6084, 60.3822, 25.9670) |
| Luminance | 0.6038 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.32
Sand (survey)
#E2CA76
ΔE00 4.74
Sandy
#F1DA7A
ΔE00 5.29
Khaki (CSS)
#F0E68C
ΔE00 5.39
Darkkhaki
#BDB76B
ΔE00 6.46
Dull Yellow
#EEDC5B
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7CF76 #767ED7
analogous
#D79F76 #D7CF76 #AED776
triadic
#D7CF76 #76D7CF #CF76D7
tetradic
#D7CF76 #76D79F #767ED7 #D776AE
square
#D7CF76 #76D79F #767ED7 #D776AE
split-complementary
#D7CF76 #76AED7 #9F76D7
monochromatic
#A39930 #C9BE47 #D7CF76 #E5E0A5 #F3F0D5
Accessibility & contrast
On white
1.61
#D7CF76 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.08
#D7CF76 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7CF76
13.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7CF76 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7CF76 | 1.00 | 1.61 | 13.08 | 13.08 |
| #FFFFFF | 1.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC96F
Deuteranopia (green-blind)
#E0CE7A
Tritanopia (blue-blind)
#E4C4BA
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #d7cf76; /* rgb */ color: rgb(215, 207, 118); /* oklch */ color: oklch(84.2% 0.111 104.0);
Tailwind
colors: {
custom: {
50: '#e5dd9f',
500: '#d7cf76',
950: '#000000',
},
}SCSS
$custom: #d7cf76; $custom-light: #e5dd9f; $custom-dark: #000000;
JSON
{
"hex": "#d7cf76",
"rgb": {
"r": 215,
"g": 207,
"b": 118
},
"hsl": {
"h": 55.052,
"s": 54.802,
"l": 65.294
},
"oklch": {
"l": 0.84192,
"c": 0.11145,
"h": 104
},
"luminance": 0.60381
}Semantic roles & 50–950 ramp
primary
#D7CF76
secondary
#4A52A7
accent
#30C223
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150F
muted
#848480