#D4C446#D4C446
#D4C446 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.1% C 0.144 H 102.0°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #D4C446 |
|---|---|
| RGB | rgb(212, 196, 70) |
| HSL | hsl(53, 62%, 55%) |
| HSV | hsv(53, 67%, 83%) |
| CMYK | cmyk(0%, 7.5%, 67%, 16.9%) |
| CIE-LAB | lab(78.42, -8.80, 62.63) |
| CIE-LCH | lch(78.42, 63.25, 97.99°) |
| OKLab | oklab(81.09% -0.0299 0.1407) |
| OKLCH | oklch(81.09% 0.144 102) |
| XYZ | xyz(47.9988, 53.9211, 13.6727) |
| Luminance | 0.5392 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Yellow
#D0C101
ΔE00 3.83
Mustard Yellow
#D2BD0A
ΔE00 3.95
Dirty Yellow
#CDC50A
ΔE00 4.10
Vomit Yellow
#C7C10C
ΔE00 4.27
Puke Yellow
#C2BE0E
ΔE00 4.70
Olive Yellow
#C2B709
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4C446 #4656D4
analogous
#D47D46 #D4C446 #9DD446
triadic
#D4C446 #46D4C4 #C446D4
tetradic
#D4C446 #46D47D #4656D4 #D4469D
square
#D4C446 #46D47D #4656D4 #D4469D
split-complementary
#D4C446 #469DD4 #7D46D4
monochromatic
#81761E #B3A42A #D4C446 #E0D478 #EBE4A9
Accessibility & contrast
On white
1.78
#D4C446 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.78
#D4C446 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4C446
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4C446 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4C446 | 1.00 | 1.78 | 11.78 | 11.78 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BE35
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#E4B7AA
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d4c446; /* rgb */ color: rgb(212, 196, 70); /* oklch */ color: oklch(81.1% 0.144 102.0);
Tailwind
colors: {
custom: {
50: '#e5d580',
500: '#d4c446',
950: '#000000',
},
}SCSS
$custom: #d4c446; $custom-light: #e5d580; $custom-dark: #000000;
JSON
{
"hex": "#d4c446",
"rgb": {
"r": 212,
"g": 196,
"b": 70
},
"hsl": {
"h": 53.239,
"s": 62.281,
"l": 55.294
},
"oklch": {
"l": 0.81092,
"c": 0.1439,
"h": 102
},
"luminance": 0.53919
}Semantic roles & 50–950 ramp
primary
#D4C446
secondary
#363F89
accent
#55E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E