#D4C175#D4C175
#D4C175 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 81.0% C 0.099 H 95.8°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #D4C175 |
|---|---|
| RGB | rgb(212, 193, 117) |
| HSL | hsl(48, 52%, 65%) |
| HSV | hsv(48, 45%, 83%) |
| CMYK | cmyk(0%, 9%, 44.8%, 16.9%) |
| CIE-LAB | lab(78.12, -3.61, 40.58) |
| CIE-LCH | lch(78.12, 40.74, 95.08°) |
| OKLab | oklab(81.02% -0.0099 0.0982) |
| OKLCH | oklch(81.02% 0.099 95.8) |
| XYZ | xyz(49.4336, 53.4231, 24.5339) |
| Luminance | 0.5342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.01
Darkkhaki
#BDB76B
ΔE00 5.09
Tan (survey)
#D1B26F
ΔE00 5.46
Desert
#CCAD60
ΔE00 6.00
Sand
#C2B280
ΔE00 6.45
Sandstone
#C9AE74
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4C175 #7588D4
analogous
#D49275 #D4C175 #B8D475
triadic
#D4C175 #75D4C1 #C175D4
tetradic
#D4C175 #75D492 #7588D4 #D475B8
square
#D4C175 #75D492 #7588D4 #D475B8
split-complementary
#D4C175 #75B8D4 #9275D4
monochromatic
#9E8831 #C5AC46 #D4C175 #E3D6A4 #F1EBD2
Accessibility & contrast
On white
1.80
#D4C175 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.68
#D4C175 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4C175
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4C175 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4C175 | 1.00 | 1.80 | 11.68 | 11.68 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBE6F
Deuteranopia (green-blind)
#D4C478
Tritanopia (blue-blind)
#E1B7AE
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d4c175; /* rgb */ color: rgb(212, 193, 117); /* oklch */ color: oklch(81.0% 0.099 95.8);
Tailwind
colors: {
custom: {
50: '#e3d39e',
500: '#d4c175',
950: '#000000',
},
}SCSS
$custom: #d4c175; $custom-light: #e3d39e; $custom-dark: #000000;
JSON
{
"hex": "#d4c175",
"rgb": {
"r": 212,
"g": 193,
"b": 117
},
"hsl": {
"h": 48,
"s": 52.486,
"l": 64.51
},
"oklch": {
"l": 0.8102,
"c": 0.09867,
"h": 95.8
},
"luminance": 0.53421
}Semantic roles & 50–950 ramp
primary
#D4C175
secondary
#4B5CA2
accent
#44C026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F