#D5CC6F#D5CC6F
#D5CC6F is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.116 H 103.7°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).
Color values
| HEX | #D5CC6F |
|---|---|
| RGB | rgb(213, 204, 111) |
| HSL | hsl(55, 55%, 64%) |
| HSV | hsv(55, 48%, 84%) |
| CMYK | cmyk(0%, 4.2%, 47.9%, 16.5%) |
| CIE-LAB | lab(81.01, -9.44, 47.13) |
| CIE-LCH | lch(81.01, 48.07, 101.33°) |
| OKLab | oklab(83.3% -0.0273 0.1123) |
| OKLCH | oklch(83.3% 0.116 103.7) |
| XYZ | xyz(51.9040, 58.4811, 23.5897) |
| Luminance | 0.5848 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.61
Greenish Beige
#C9D179
ΔE00 4.76
Sandy
#F1DA7A
ΔE00 5.48
Darkkhaki
#BDB76B
ΔE00 6.07
Khaki (CSS)
#F0E68C
ΔE00 6.13
Dull Yellow
#EEDC5B
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5CC6F #6F78D5
analogous
#D5996F #D5CC6F #ABD56F
triadic
#D5CC6F #6FD5CC #CC6FD5
tetradic
#D5CC6F #6FD599 #6F78D5 #D56FAB
square
#D5CC6F #6FD599 #6F78D5 #D56FAB
split-complementary
#D5CC6F #6FABD5 #996FD5
monochromatic
#9C922E #C7BB40 #D5CC6F #E3DD9E #F1EECE
Accessibility & contrast
On white
1.65
#D5CC6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.70
#D5CC6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5CC6F
12.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5CC6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5CC6F | 1.00 | 1.65 | 12.70 | 12.70 |
| #FFFFFF | 1.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC667
Deuteranopia (green-blind)
#DECB73
Tritanopia (blue-blind)
#E2C1B6
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #d5cc6f; /* rgb */ color: rgb(213, 204, 111); /* oklch */ color: oklch(83.3% 0.116 103.7);
Tailwind
colors: {
custom: {
50: '#e4db9a',
500: '#d5cc6f',
950: '#000000',
},
}SCSS
$custom: #d5cc6f; $custom-light: #e4db9a; $custom-dark: #000000;
JSON
{
"hex": "#d5cc6f",
"rgb": {
"r": 213,
"g": 204,
"b": 111
},
"hsl": {
"h": 54.706,
"s": 54.839,
"l": 63.529
},
"oklch": {
"l": 0.83298,
"c": 0.11562,
"h": 103.7
},
"luminance": 0.5848
}Semantic roles & 50–950 ramp
primary
#D5CC6F
secondary
#484FA1
accent
#31C223
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F