#D4C366#D4C366
#D4C366 is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.116 H 99.2°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #D4C366 |
|---|---|
| RGB | rgb(212, 195, 102) |
| HSL | hsl(51, 56%, 62%) |
| HSV | hsv(51, 52%, 83%) |
| CMYK | cmyk(0%, 8%, 51.9%, 16.9%) |
| CIE-LAB | lab(78.45, -6.03, 48.40) |
| CIE-LCH | lch(78.45, 48.78, 97.11°) |
| OKLab | oklab(81.22% -0.0184 0.1144) |
| OKLCH | oklch(81.22% 0.116 99.2) |
| XYZ | xyz(49.0663, 53.9884, 20.4040) |
| Luminance | 0.5399 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.37
Darkkhaki
#BDB76B
ΔE00 5.46
Sandy
#F1DA7A
ΔE00 5.97
Light Mustard
#F7D560
ΔE00 7.22
Maize
#F4D054
ΔE00 7.23
Desert
#CCAD60
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4C366 #6677D4
analogous
#D48C66 #D4C366 #AED466
triadic
#D4C366 #66D4C3 #C366D4
tetradic
#D4C366 #66D48C #6677D4 #D466AE
square
#D4C366 #66D48C #6677D4 #D466AE
split-complementary
#D4C366 #66AED4 #8C66D4
monochromatic
#96852A #C5AF37 #D4C366 #E1D696 #EFE8C6
Accessibility & contrast
On white
1.78
#D4C366 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.80
#D4C366 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4C366
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4C366 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4C366 | 1.00 | 1.78 | 11.80 | 11.80 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BE5E
Deuteranopia (green-blind)
#D7C56A
Tritanopia (blue-blind)
#E2B7AE
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d4c366; /* rgb */ color: rgb(212, 195, 102); /* oklch */ color: oklch(81.2% 0.116 99.2);
Tailwind
colors: {
custom: {
50: '#e3d494',
500: '#d4c366',
950: '#000000',
},
}SCSS
$custom: #d4c366; $custom-light: #e3d494; $custom-dark: #000000;
JSON
{
"hex": "#d4c366",
"rgb": {
"r": 212,
"g": 195,
"b": 102
},
"hsl": {
"h": 50.727,
"s": 56.122,
"l": 61.569
},
"oklch": {
"l": 0.8122,
"c": 0.11586,
"h": 99.2
},
"luminance": 0.53987
}Semantic roles & 50–950 ramp
primary
#D4C366
secondary
#43519B
accent
#3BC422
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F