#D7C660#D7C660
#D7C660 is a very light, vivid yellow. Relative luminance 0.557; OKLCH L 82.0% C 0.124 H 100.0°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C660 |
|---|---|
| RGB | rgb(215, 198, 96) |
| HSL | hsl(51, 60%, 61%) |
| HSV | hsv(51, 55%, 84%) |
| CMYK | cmyk(0%, 7.9%, 55.3%, 15.7%) |
| CIE-LAB | lab(79.43, -6.83, 52.46) |
| CIE-LCH | lch(79.43, 52.91, 97.42°) |
| OKLab | oklab(82.04% -0.0216 0.1225) |
| OKLCH | oklch(82.04% 0.124 100) |
| XYZ | xyz(50.3315, 55.6817, 19.1605) |
| Luminance | 0.5568 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.82
Sandy
#F1DA7A
ΔE00 5.43
Dull Yellow
#EEDC5B
ΔE00 6.00
Maize
#F4D054
ΔE00 6.36
Light Mustard
#F7D560
ΔE00 6.38
Darkkhaki
#BDB76B
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C660 #6071D7
analogous
#D78A60 #D7C660 #ACD760
triadic
#D7C660 #60D7C6 #C660D7
tetradic
#D7C660 #60D78A #6071D7 #D760AC
square
#D7C660 #60D78A #6071D7 #D760AC
split-complementary
#D7C660 #60ACD7 #8A60D7
monochromatic
#978726 #C8B232 #D7C660 #E3D891 #F0E9C2
Accessibility & contrast
On white
1.73
#D7C660 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.14
#D7C660 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C660
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C660 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C660 | 1.00 | 1.73 | 12.14 | 12.14 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C156
Deuteranopia (green-blind)
#DBC865
Tritanopia (blue-blind)
#E6BAAF
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #d7c660; /* rgb */ color: rgb(215, 198, 96); /* oklch */ color: oklch(82.0% 0.124 100.0);
Tailwind
colors: {
custom: {
50: '#e6d790',
500: '#d7c660',
950: '#000000',
},
}SCSS
$custom: #d7c660; $custom-light: #e6d790; $custom-dark: #000000;
JSON
{
"hex": "#d7c660",
"rgb": {
"r": 215,
"g": 198,
"b": 96
},
"hsl": {
"h": 51.429,
"s": 59.799,
"l": 60.98
},
"oklch": {
"l": 0.82036,
"c": 0.12442,
"h": 100
},
"luminance": 0.5568
}Semantic roles & 50–950 ramp
primary
#D7C660
secondary
#404D9B
accent
#36C71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F