#D2C850#D2C850
#D2C850 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.140 H 104.5°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C850 |
|---|---|
| RGB | rgb(210, 200, 80) |
| HSL | hsl(55, 59%, 57%) |
| HSV | hsv(55, 62%, 82%) |
| CMYK | cmyk(0%, 4.8%, 61.9%, 17.6%) |
| CIE-LAB | lab(79.38, -11.07, 59.45) |
| CIE-LCH | lch(79.38, 60.48, 100.55°) |
| OKLab | oklab(81.84% -0.0352 0.1356) |
| OKLCH | oklch(81.84% 0.14 104.5) |
| XYZ | xyz(48.6823, 55.5911, 15.7536) |
| Luminance | 0.5559 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 4.58
Vomit Yellow
#C7C10C
ΔE00 4.69
Puke Yellow
#C2BE0E
ΔE00 5.00
Ugly Yellow
#D0C101
ΔE00 5.05
Dull Yellow
#EEDC5B
ΔE00 5.52
Mustard Yellow
#D2BD0A
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C850 #505AD2
analogous
#D28750 #D2C850 #9BD250
triadic
#D2C850 #50D2C8 #C850D2
tetradic
#D2C850 #50D287 #505AD2 #D2509B
square
#D2C850 #50D287 #505AD2 #D2509B
split-complementary
#D2C850 #509BD2 #8750D2
monochromatic
#857E22 #B6AC2F #D2C850 #DFD781 #EBE7B1
Accessibility & contrast
On white
1.73
#D2C850 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.12
#D2C850 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C850
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C850 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C850 | 1.00 | 1.73 | 12.12 | 12.12 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C142
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#E1BBAF
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #d2c850; /* rgb */ color: rgb(210, 200, 80); /* oklch */ color: oklch(81.8% 0.140 104.5);
Tailwind
colors: {
custom: {
50: '#e3d886',
500: '#d2c850',
950: '#000000',
},
}SCSS
$custom: #d2c850; $custom-light: #e3d886; $custom-dark: #000000;
JSON
{
"hex": "#d2c850",
"rgb": {
"r": 210,
"g": 200,
"b": 80
},
"hsl": {
"h": 55.385,
"s": 59.091,
"l": 56.863
},
"oklch": {
"l": 0.81843,
"c": 0.14009,
"h": 104.5
},
"luminance": 0.55589
}Semantic roles & 50–950 ramp
primary
#D2C850
secondary
#3A408C
accent
#52E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E