#D5CC7F#D5CC7F
#D5CC7F is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.099 H 102.5°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).
Color values
| HEX | #D5CC7F |
|---|---|
| RGB | rgb(213, 204, 127) |
| HSL | hsl(54, 51%, 67%) |
| HSV | hsv(54, 40%, 84%) |
| CMYK | cmyk(0%, 4.2%, 40.4%, 16.5%) |
| CIE-LAB | lab(81.22, -7.85, 39.45) |
| CIE-LCH | lch(81.22, 40.23, 101.25°) |
| OKLab | oklab(83.54% -0.0213 0.0962) |
| OKLCH | oklch(83.54% 0.099 102.5) |
| XYZ | xyz(52.8652, 58.8656, 28.6520) |
| Luminance | 0.5886 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.48
Greenish Beige
#C9D179
ΔE00 4.81
Darkkhaki
#BDB76B
ΔE00 5.62
Sandy
#F1DA7A
ΔE00 6.09
Khaki (CSS)
#F0E68C
ΔE00 6.25
Beige (survey)
#E6DAA6
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5CC7F #7F88D5
analogous
#D5A17F #D5CC7F #B3D57F
triadic
#D5CC7F #7FD5CC #CC7FD5
tetradic
#D5CC7F #7FD5A1 #7F88D5 #D57FB3
square
#D5CC7F #7FD5A1 #7F88D5 #D57FB3
split-complementary
#D5CC7F #7FB3D5 #A17FD5
monochromatic
#A49836 #C6BA51 #D5CC7F #E4DEAD #F3F1DB
Accessibility & contrast
On white
1.64
#D5CC7F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.77
#D5CC7F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5CC7F
12.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5CC7F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5CC7F | 1.00 | 1.64 | 12.77 | 12.77 |
| #FFFFFF | 1.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C779
Deuteranopia (green-blind)
#DCCC82
Tritanopia (blue-blind)
#E1C2B9
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #d5cc7f; /* rgb */ color: rgb(213, 204, 127); /* oklch */ color: oklch(83.5% 0.099 102.5);
Tailwind
colors: {
custom: {
50: '#e3dba5',
500: '#d5cc7f',
950: '#000000',
},
}SCSS
$custom: #d5cc7f; $custom-light: #e3dba5; $custom-dark: #000000;
JSON
{
"hex": "#d5cc7f",
"rgb": {
"r": 213,
"g": 204,
"b": 127
},
"hsl": {
"h": 53.721,
"s": 50.588,
"l": 66.667
},
"oklch": {
"l": 0.83535,
"c": 0.0985,
"h": 102.5
},
"luminance": 0.58864
}Semantic roles & 50–950 ramp
primary
#D5CC7F
secondary
#5059A8
accent
#37BE28
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16150F
muted
#848480