#D2C456#D2C456
#D2C456 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.1% C 0.131 H 102.1°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C456 |
|---|---|
| RGB | rgb(210, 196, 86) |
| HSL | hsl(53, 58%, 58%) |
| HSV | hsv(53, 59%, 82%) |
| CMYK | cmyk(0%, 6.7%, 59%, 17.6%) |
| CIE-LAB | lab(78.38, -8.63, 55.73) |
| CIE-LCH | lch(78.38, 56.39, 98.80°) |
| OKLab | oklab(81.06% -0.0275 0.1285) |
| OKLCH | oklch(81.06% 0.131 102.1) |
| XYZ | xyz(47.9997, 53.8552, 16.6690) |
| Luminance | 0.5385 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.32
Vomit Yellow
#C7C10C
ΔE00 5.64
Ugly Yellow
#D0C101
ΔE00 5.65
Dirty Yellow
#CDC50A
ΔE00 5.67
Mustard Yellow
#D2BD0A
ΔE00 5.72
Puke Yellow
#C2BE0E
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C456 #5664D2
analogous
#D28656 #D2C456 #A2D256
triadic
#D2C456 #56D2C4 #C456D2
tetradic
#D2C456 #56D286 #5664D2 #D256A2
square
#D2C456 #56D286 #5664D2 #D256A2
split-complementary
#D2C456 #56A2D2 #8656D2
monochromatic
#897E25 #B9AA31 #D2C456 #DFD586 #ECE6B7
Accessibility & contrast
On white
1.78
#D2C456 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.77
#D2C456 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C456
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C456 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C456 | 1.00 | 1.78 | 11.77 | 11.77 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BE4A
Deuteranopia (green-blind)
#D9C55C
Tritanopia (blue-blind)
#E1B8AC
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d2c456; /* rgb */ color: rgb(210, 196, 86); /* oklch */ color: oklch(81.1% 0.131 102.1);
Tailwind
colors: {
custom: {
50: '#e3d58a',
500: '#d2c456',
950: '#000000',
},
}SCSS
$custom: #d2c456; $custom-light: #e3d58a; $custom-dark: #000000;
JSON
{
"hex": "#d2c456",
"rgb": {
"r": 210,
"g": 196,
"b": 86
},
"hsl": {
"h": 53.226,
"s": 57.944,
"l": 58.039
},
"oklch": {
"l": 0.81063,
"c": 0.1314,
"h": 102.1
},
"luminance": 0.53853
}Semantic roles & 50–950 ramp
primary
#D2C456
secondary
#3D4690
accent
#58E147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F