#D0C670#D0C670
#D0C670 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.108 H 102.6°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #D0C670 |
|---|---|
| RGB | rgb(208, 198, 112) |
| HSL | hsl(54, 51%, 63%) |
| HSV | hsv(54, 46%, 82%) |
| CMYK | cmyk(0%, 4.8%, 46.2%, 18.4%) |
| CIE-LAB | lab(79.02, -8.31, 44.12) |
| CIE-LCH | lch(79.02, 44.90, 100.66°) |
| OKLab | oklab(81.63% -0.0237 0.1058) |
| OKLCH | oklch(81.63% 0.108 102.6) |
| XYZ | xyz(49.1323, 54.9694, 23.3481) |
| Luminance | 0.5497 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.42
Darkkhaki
#BDB76B
ΔE00 4.48
Greenish Beige
#C9D179
ΔE00 5.22
Sandy
#F1DA7A
ΔE00 6.50
Greenish Tan
#BCCB7A
ΔE00 6.92
Khaki (CSS)
#F0E68C
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D0C670 #707AD0
analogous
#D09670 #D0C670 #AAD070
triadic
#D0C670 #70D0C6 #C670D0
tetradic
#D0C670 #70D096 #707AD0 #D070AA
square
#D0C670 #70D096 #707AD0 #D070AA
split-complementary
#D0C670 #70AAD0 #9670D0
monochromatic
#958A31 #C1B442 #D0C670 #DFD89E #EEEBCC
Accessibility & contrast
On white
1.75
#D0C670 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.99
#D0C670 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D0C670
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D0C670 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D0C670 | 1.00 | 1.75 | 11.99 | 11.99 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C169
Deuteranopia (green-blind)
#D7C674
Tritanopia (blue-blind)
#DDBCB2
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d0c670; /* rgb */ color: rgb(208, 198, 112); /* oklch */ color: oklch(81.6% 0.108 102.6);
Tailwind
colors: {
custom: {
50: '#e0d79b',
500: '#d0c670',
950: '#000000',
},
}SCSS
$custom: #d0c670; $custom-light: #e0d79b; $custom-dark: #000000;
JSON
{
"hex": "#d0c670",
"rgb": {
"r": 208,
"g": 198,
"b": 112
},
"hsl": {
"h": 53.75,
"s": 50.526,
"l": 62.745
},
"oklch": {
"l": 0.81629,
"c": 0.10845,
"h": 102.6
},
"luminance": 0.54968
}Semantic roles & 50–950 ramp
primary
#D0C670
secondary
#4A529A
accent
#37BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F