#D4C660#D4C660
#D4C660 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.8% C 0.124 H 101.6°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #D4C660 |
|---|---|
| RGB | rgb(212, 198, 96) |
| HSL | hsl(53, 57%, 60%) |
| HSV | hsv(53, 55%, 83%) |
| CMYK | cmyk(0%, 6.6%, 54.7%, 16.9%) |
| CIE-LAB | lab(79.17, -8.07, 52.10) |
| CIE-LCH | lch(79.17, 52.72, 98.81°) |
| OKLab | oklab(81.77% -0.0249 0.1218) |
| OKLCH | oklch(81.77% 0.124 101.6) |
| XYZ | xyz(49.4584, 55.2316, 19.1196) |
| Luminance | 0.5523 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.39
Sandy
#F1DA7A
ΔE00 5.85
Darkkhaki
#BDB76B
ΔE00 6.14
Dull Yellow
#EEDC5B
ΔE00 6.20
Dirty Yellow
#CDC50A
ΔE00 6.75
Vomit Yellow
#C7C10C
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4C660 #606ED4
analogous
#D48C60 #D4C660 #A8D460
triadic
#D4C660 #60D4C6 #C660D4
tetradic
#D4C660 #60D48C #606ED4 #D460A8
square
#D4C660 #60D48C #606ED4 #D460A8
split-complementary
#D4C660 #60A8D4 #8C60D4
monochromatic
#928528 #C2B135 #D4C660 #E1D790 #EEE9C0
Accessibility & contrast
On white
1.74
#D4C660 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.05
#D4C660 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4C660
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4C660 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4C660 | 1.00 | 1.74 | 12.05 | 12.05 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C156
Deuteranopia (green-blind)
#DAC765
Tritanopia (blue-blind)
#E2BAAF
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d4c660; /* rgb */ color: rgb(212, 198, 96); /* oklch */ color: oklch(81.8% 0.124 101.6);
Tailwind
colors: {
custom: {
50: '#e4d790',
500: '#d4c660',
950: '#000000',
},
}SCSS
$custom: #d4c660; $custom-light: #e4d790; $custom-dark: #000000;
JSON
{
"hex": "#d4c660",
"rgb": {
"r": 212,
"g": 198,
"b": 96
},
"hsl": {
"h": 52.759,
"s": 57.426,
"l": 60.392
},
"oklch": {
"l": 0.81769,
"c": 0.12434,
"h": 101.6
},
"luminance": 0.5523
}Semantic roles & 50–950 ramp
primary
#D4C660
secondary
#414B98
accent
#34C520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F