#D2C550#D2C550
#D2C550 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.137 H 103.0°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C550 |
|---|---|
| RGB | rgb(210, 197, 80) |
| HSL | hsl(54, 59%, 57%) |
| HSV | hsv(54, 62%, 82%) |
| CMYK | cmyk(0%, 6.2%, 61.9%, 17.6%) |
| CIE-LAB | lab(78.59, -9.55, 58.60) |
| CIE-LCH | lch(78.59, 59.37, 99.25°) |
| OKLab | oklab(81.21% -0.0308 0.1338) |
| OKLCH | oklch(81.21% 0.137 103) |
| XYZ | xyz(47.9944, 54.2152, 15.5243) |
| Luminance | 0.5421 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 4.84
Vomit Yellow
#C7C10C
ΔE00 4.87
Ugly Yellow
#D0C101
ΔE00 4.93
Puke Yellow
#C2BE0E
ΔE00 5.13
Mustard Yellow
#D2BD0A
ΔE00 5.19
Olive Yellow
#C2B709
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C550 #505DD2
analogous
#D28450 #D2C550 #9ED250
triadic
#D2C550 #50D2C5 #C550D2
tetradic
#D2C550 #50D284 #505DD2 #D2509E
square
#D2C550 #50D284 #505DD2 #D2509E
split-complementary
#D2C550 #509ED2 #8450D2
monochromatic
#857B22 #B6A82F #D2C550 #DFD581 #EBE5B1
Accessibility & contrast
On white
1.77
#D2C550 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.84
#D2C550 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C550
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C550 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C550 | 1.00 | 1.77 | 11.84 | 11.84 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BF42
Deuteranopia (green-blind)
#DAC556
Tritanopia (blue-blind)
#E1B8AC
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d2c550; /* rgb */ color: rgb(210, 197, 80); /* oklch */ color: oklch(81.2% 0.137 103.0);
Tailwind
colors: {
custom: {
50: '#e3d686',
500: '#d2c550',
950: '#000000',
},
}SCSS
$custom: #d2c550; $custom-light: #e3d686; $custom-dark: #000000;
JSON
{
"hex": "#d2c550",
"rgb": {
"r": 210,
"g": 197,
"b": 80
},
"hsl": {
"h": 54,
"s": 59.091,
"l": 56.863
},
"oklch": {
"l": 0.81213,
"c": 0.13729,
"h": 103
},
"luminance": 0.54213
}Semantic roles & 50–950 ramp
primary
#D2C550
secondary
#3A428C
accent
#55E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E