#D7C366#D7C366
#D7C366 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.5% C 0.116 H 97.4°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C366 |
|---|---|
| RGB | rgb(215, 195, 102) |
| HSL | hsl(49, 59%, 62%) |
| HSV | hsv(49, 53%, 84%) |
| CMYK | cmyk(0%, 9.3%, 52.6%, 15.7%) |
| CIE-LAB | lab(78.72, -4.80, 48.78) |
| CIE-LCH | lch(78.72, 49.01, 95.62°) |
| OKLab | oklab(81.49% -0.015 0.1152) |
| OKLCH | oklch(81.49% 0.116 97.4) |
| XYZ | xyz(49.9394, 54.4386, 20.4450) |
| Luminance | 0.5444 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.80
Sandy
#F1DA7A
ΔE00 5.66
Darkkhaki
#BDB76B
ΔE00 6.07
Maize
#F4D054
ΔE00 6.59
Light Mustard
#F7D560
ΔE00 6.63
Desert
#CCAD60
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C366 #667AD7
analogous
#D78B66 #D7C366 #B2D766
triadic
#D7C366 #66D7C3 #C366D7
tetradic
#D7C366 #66D78B #667AD7 #D766B2
square
#D7C366 #66D78B #667AD7 #D766B2
split-complementary
#D7C366 #66B2D7 #8B66D7
monochromatic
#9A8628 #CAB035 #D7C366 #E4D697 #F0E9C7
Accessibility & contrast
On white
1.77
#D7C366 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.89
#D7C366 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C366
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C366 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C366 | 1.00 | 1.77 | 11.89 | 11.89 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BF5E
Deuteranopia (green-blind)
#D8C66A
Tritanopia (blue-blind)
#E6B7AE
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #d7c366; /* rgb */ color: rgb(215, 195, 102); /* oklch */ color: oklch(81.5% 0.116 97.4);
Tailwind
colors: {
custom: {
50: '#e6d494',
500: '#d7c366',
950: '#000000',
},
}SCSS
$custom: #d7c366; $custom-light: #e6d494; $custom-dark: #000000;
JSON
{
"hex": "#d7c366",
"rgb": {
"r": 215,
"g": 195,
"b": 102
},
"hsl": {
"h": 49.381,
"s": 58.549,
"l": 62.157
},
"oklch": {
"l": 0.8149,
"c": 0.11613,
"h": 97.4
},
"luminance": 0.54437
}Semantic roles & 50–950 ramp
primary
#D7C366
secondary
#42539F
accent
#3DC61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F