#D4C170#D4C170
#D4C170 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.9% C 0.104 H 96.5°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).
Color values
| HEX | #D4C170 |
|---|---|
| RGB | rgb(212, 193, 112) |
| HSL | hsl(49, 54%, 64%) |
| HSV | hsv(49, 47%, 83%) |
| CMYK | cmyk(0%, 9%, 47.2%, 16.9%) |
| CIE-LAB | lab(78.06, -4.10, 43.01) |
| CIE-LCH | lch(78.06, 43.20, 95.44°) |
| OKLab | oklab(80.94% -0.0118 0.1033) |
| OKLCH | oklch(80.94% 0.104 96.5) |
| XYZ | xyz(49.1474, 53.3087, 23.0268) |
| Luminance | 0.5331 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.84
Darkkhaki
#BDB76B
ΔE00 5.07
Tan (survey)
#D1B26F
ΔE00 5.85
Desert
#CCAD60
ΔE00 6.07
Sandy
#F1DA7A
ΔE00 6.49
Sandstone
#C9AE74
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4C170 #7083D4
analogous
#D48F70 #D4C170 #B5D470
triadic
#D4C170 #70D4C1 #C170D4
tetradic
#D4C170 #70D48F #7083D4 #D470B5
square
#D4C170 #70D48F #7083D4 #D470B5
split-complementary
#D4C170 #70B5D4 #8F70D4
monochromatic
#9B862F #C6AD41 #D4C170 #E2D59F #F0EACE
Accessibility & contrast
On white
1.80
#D4C170 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.66
#D4C170 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4C170
11.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4C170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4C170 | 1.00 | 1.80 | 11.66 | 11.66 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BD69
Deuteranopia (green-blind)
#D5C473
Tritanopia (blue-blind)
#E1B6AE
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d4c170; /* rgb */ color: rgb(212, 193, 112); /* oklch */ color: oklch(80.9% 0.104 96.5);
Tailwind
colors: {
custom: {
50: '#e3d39a',
500: '#d4c170',
950: '#000000',
},
}SCSS
$custom: #d4c170; $custom-light: #e3d39a; $custom-dark: #000000;
JSON
{
"hex": "#d4c170",
"rgb": {
"r": 212,
"g": 193,
"b": 112
},
"hsl": {
"h": 48.6,
"s": 53.763,
"l": 63.529
},
"oklch": {
"l": 0.80945,
"c": 0.10396,
"h": 96.5
},
"luminance": 0.53307
}Semantic roles & 50–950 ramp
primary
#D4C170
secondary
#4859A0
accent
#42C124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F