#D2C446#D2C446
#D2C446 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.144 H 102.9°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C446 |
|---|---|
| RGB | rgb(210, 196, 70) |
| HSL | hsl(54, 61%, 55%) |
| HSV | hsv(54, 67%, 82%) |
| CMYK | cmyk(0%, 6.7%, 66.7%, 17.6%) |
| CIE-LAB | lab(78.24, -9.64, 62.40) |
| CIE-LCH | lch(78.24, 63.14, 98.78°) |
| OKLab | oklab(80.91% -0.0322 0.1403) |
| OKLCH | oklch(80.91% 0.144 102.9) |
| XYZ | xyz(47.4257, 53.6256, 13.6458) |
| Luminance | 0.5362 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Yellow
#D0C101
ΔE00 3.87
Dirty Yellow
#CDC50A
ΔE00 3.92
Vomit Yellow
#C7C10C
ΔE00 4.01
Mustard Yellow
#D2BD0A
ΔE00 4.16
Puke Yellow
#C2BE0E
ΔE00 4.38
Olive Yellow
#C2B709
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C446 #4654D2
analogous
#D27E46 #D2C446 #9AD246
triadic
#D2C446 #46D2C4 #C446D2
tetradic
#D2C446 #46D27E #4654D2 #D2469A
square
#D2C446 #46D27E #4654D2 #D2469A
split-complementary
#D2C446 #469AD2 #7E46D2
monochromatic
#7F751F #B0A32B #D2C446 #DED477 #EAE3A8
Accessibility & contrast
On white
1.79
#D2C446 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.72
#D2C446 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C446
11.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C446 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C446 | 1.00 | 1.79 | 11.72 | 11.72 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BE35
Deuteranopia (green-blind)
#DAC44E
Tritanopia (blue-blind)
#E1B7AA
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d2c446; /* rgb */ color: rgb(210, 196, 70); /* oklch */ color: oklch(80.9% 0.144 102.9);
Tailwind
colors: {
custom: {
50: '#e3d580',
500: '#d2c446',
950: '#000000',
},
}SCSS
$custom: #d2c446; $custom-light: #e3d580; $custom-dark: #000000;
JSON
{
"hex": "#d2c446",
"rgb": {
"r": 210,
"g": 196,
"b": 70
},
"hsl": {
"h": 54,
"s": 60.87,
"l": 54.902
},
"oklch": {
"l": 0.80914,
"c": 0.14397,
"h": 102.9
},
"luminance": 0.53624
}Semantic roles & 50–950 ramp
primary
#D2C446
secondary
#363E86
accent
#54E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E