#D3C378#D3C378
#D3C378 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.4% C 0.097 H 97.6°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #D3C378 |
|---|---|
| RGB | rgb(211, 195, 120) |
| HSL | hsl(49, 51%, 65%) |
| HSV | hsv(49, 43%, 83%) |
| CMYK | cmyk(0%, 7.6%, 43.1%, 17.3%) |
| CIE-LAB | lab(78.60, -4.75, 39.64) |
| CIE-LCH | lch(78.60, 39.93, 96.83°) |
| OKLab | oklab(81.39% -0.0129 0.0962) |
| OKLCH | oklch(81.39% 0.097 97.6) |
| XYZ | xyz(49.7704, 54.2368, 25.6127) |
| Luminance | 0.5423 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.32
Darkkhaki
#BDB76B
ΔE00 4.73
Tan (survey)
#D1B26F
ΔE00 6.30
Sand
#C2B280
ΔE00 6.56
Sandy
#F1DA7A
ΔE00 6.70
Desert
#CCAD60
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D3C378 #7888D3
analogous
#D39678 #D3C378 #B5D378
triadic
#D3C378 #78D3C3 #C378D3
tetradic
#D3C378 #78D396 #7888D3 #D378B5
square
#D3C378 #78D396 #7888D3 #D378B5
split-complementary
#D3C378 #78B5D3 #9678D3
monochromatic
#9D8B33 #C4AE4A #D3C378 #E2D8A6 #F1ECD4
Accessibility & contrast
On white
1.77
#D3C378 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.85
#D3C378 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D3C378
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D3C378 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D3C378 | 1.00 | 1.77 | 11.85 | 11.85 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BF72
Deuteranopia (green-blind)
#D5C57B
Tritanopia (blue-blind)
#E0B9B1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d3c378; /* rgb */ color: rgb(211, 195, 120); /* oklch */ color: oklch(81.4% 0.097 97.6);
Tailwind
colors: {
custom: {
50: '#e2d5a0',
500: '#d3c378',
950: '#000000',
},
}SCSS
$custom: #d3c378; $custom-light: #e2d5a0; $custom-dark: #000000;
JSON
{
"hex": "#d3c378",
"rgb": {
"r": 211,
"g": 195,
"b": 120
},
"hsl": {
"h": 49.451,
"s": 50.838,
"l": 64.902
},
"oklch": {
"l": 0.81389,
"c": 0.0971,
"h": 97.6
},
"luminance": 0.54235
}Semantic roles & 50–950 ramp
primary
#D3C378
secondary
#4D5CA2
accent
#42BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140F
muted
#848380