#D0C779#D0C779
#D0C779 is a light, moderate yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.100 H 102.6°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #D0C779 |
|---|---|
| RGB | rgb(208, 199, 121) |
| HSL | hsl(54, 48%, 65%) |
| HSV | hsv(54, 42%, 82%) |
| CMYK | cmyk(0%, 4.3%, 41.8%, 18.4%) |
| CIE-LAB | lab(79.41, -7.91, 40.10) |
| CIE-LCH | lch(79.41, 40.88, 101.16°) |
| OKLab | oklab(81.97% -0.0218 0.0974) |
| OKLCH | oklch(81.97% 0.1 102.6) |
| XYZ | xyz(49.8880, 55.6386, 26.1968) |
| Luminance | 0.5564 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.40
Sand (survey)
#E2CA76
ΔE00 4.64
Greenish Beige
#C9D179
ΔE00 5.00
Greenish Tan
#BCCB7A
ΔE00 6.46
Sandy
#F1DA7A
ΔE00 6.84
Khaki (CSS)
#F0E68C
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D0C779 #7982D0
analogous
#D09C79 #D0C779 #AED079
triadic
#D0C779 #79D0C7 #C779D0
tetradic
#D0C779 #79D09C #7982D0 #D079AE
square
#D0C779 #79D09C #7982D0 #D079AE
split-complementary
#D0C779 #79AED0 #9C79D0
monochromatic
#998F36 #C0B44C #D0C779 #E0DAA6 #F0EDD4
Accessibility & contrast
On white
1.73
#D0C779 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.13
#D0C779 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D0C779
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D0C779 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D0C779 | 1.00 | 1.73 | 12.13 | 12.13 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C273
Deuteranopia (green-blind)
#D7C77C
Tritanopia (blue-blind)
#DCBDB4
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #d0c779; /* rgb */ color: rgb(208, 199, 121); /* oklch */ color: oklch(82.0% 0.100 102.6);
Tailwind
colors: {
custom: {
50: '#e0d7a1',
500: '#d0c779',
950: '#000000',
},
}SCSS
$custom: #d0c779; $custom-light: #e0d7a1; $custom-dark: #000000;
JSON
{
"hex": "#d0c779",
"rgb": {
"r": 208,
"g": 199,
"b": 121
},
"hsl": {
"h": 53.793,
"s": 48.066,
"l": 64.51
},
"oklch": {
"l": 0.81973,
"c": 0.09977,
"h": 102.6
},
"luminance": 0.55637
}Semantic roles & 50–950 ramp
primary
#D0C779
secondary
#4F579F
accent
#39BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380