#D2C556#D2C556
#D2C556 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.132 H 102.7°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C556 |
|---|---|
| RGB | rgb(210, 197, 86) |
| HSL | hsl(54, 58%, 58%) |
| HSV | hsv(54, 59%, 82%) |
| CMYK | cmyk(0%, 6.2%, 59%, 17.6%) |
| CIE-LAB | lab(78.64, -9.14, 56.02) |
| CIE-LCH | lch(78.64, 56.76, 99.26°) |
| OKLab | oklab(81.27% -0.029 0.1291) |
| OKLCH | oklch(81.27% 0.132 102.7) |
| XYZ | xyz(48.2260, 54.3078, 16.7444) |
| Luminance | 0.5431 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.48
Vomit Yellow
#C7C10C
ΔE00 5.53
Dirty Yellow
#CDC50A
ΔE00 5.54
Ugly Yellow
#D0C101
ΔE00 5.62
Puke Yellow
#C2BE0E
ΔE00 5.73
Mustard Yellow
#D2BD0A
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C556 #5663D2
analogous
#D28756 #D2C556 #A1D256
triadic
#D2C556 #56D2C5 #C556D2
tetradic
#D2C556 #56D287 #5663D2 #D256A1
square
#D2C556 #56D287 #5663D2 #D256A1
split-complementary
#D2C556 #56A1D2 #8756D2
monochromatic
#897F25 #B9AB31 #D2C556 #DFD686 #ECE6B7
Accessibility & contrast
On white
1.77
#D2C556 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.86
#D2C556 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C556
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C556 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C556 | 1.00 | 1.77 | 11.86 | 11.86 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BF4A
Deuteranopia (green-blind)
#D9C55C
Tritanopia (blue-blind)
#E1B9AD
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #d2c556; /* rgb */ color: rgb(210, 197, 86); /* oklch */ color: oklch(81.3% 0.132 102.7);
Tailwind
colors: {
custom: {
50: '#e3d68a',
500: '#d2c556',
950: '#000000',
},
}SCSS
$custom: #d2c556; $custom-light: #e3d68a; $custom-dark: #000000;
JSON
{
"hex": "#d2c556",
"rgb": {
"r": 210,
"g": 197,
"b": 86
},
"hsl": {
"h": 53.71,
"s": 57.944,
"l": 58.039
},
"oklch": {
"l": 0.81273,
"c": 0.13233,
"h": 102.7
},
"luminance": 0.54306
}Semantic roles & 50–950 ramp
primary
#D2C556
secondary
#3D4590
accent
#57E147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F