#D2C450#D2C450
#D2C450 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.136 H 102.4°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C450 |
|---|---|
| RGB | rgb(210, 196, 80) |
| HSL | hsl(54, 59%, 57%) |
| HSV | hsv(54, 62%, 82%) |
| CMYK | cmyk(0%, 6.7%, 61.9%, 17.6%) |
| CIE-LAB | lab(78.32, -9.03, 58.31) |
| CIE-LCH | lch(78.32, 59.01, 98.81°) |
| OKLab | oklab(81% -0.0294 0.1332) |
| OKLCH | oklch(81% 0.136 102.4) |
| XYZ | xyz(47.7681, 53.7625, 15.4489) |
| Luminance | 0.5376 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Yellow
#D0C101
ΔE00 4.94
Dirty Yellow
#CDC50A
ΔE00 4.97
Vomit Yellow
#C7C10C
ΔE00 4.98
Mustard Yellow
#D2BD0A
ΔE00 5.09
Puke Yellow
#C2BE0E
ΔE00 5.23
Olive Yellow
#C2B709
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C450 #505ED2
analogous
#D28350 #D2C450 #9FD250
triadic
#D2C450 #50D2C4 #C450D2
tetradic
#D2C450 #50D283 #505ED2 #D2509F
square
#D2C450 #50D283 #505ED2 #D2509F
split-complementary
#D2C450 #509FD2 #8350D2
monochromatic
#857B22 #B6A72F #D2C450 #DFD481 #EBE5B1
Accessibility & contrast
On white
1.79
#D2C450 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.75
#D2C450 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C450
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C450 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C450 | 1.00 | 1.79 | 11.75 | 11.75 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BE43
Deuteranopia (green-blind)
#D9C556
Tritanopia (blue-blind)
#E1B7AB
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d2c450; /* rgb */ color: rgb(210, 196, 80); /* oklch */ color: oklch(81.0% 0.136 102.4);
Tailwind
colors: {
custom: {
50: '#e3d586',
500: '#d2c450',
950: '#000000',
},
}SCSS
$custom: #d2c450; $custom-light: #e3d586; $custom-dark: #000000;
JSON
{
"hex": "#d2c450",
"rgb": {
"r": 210,
"g": 196,
"b": 80
},
"hsl": {
"h": 53.538,
"s": 59.091,
"l": 56.863
},
"oklch": {
"l": 0.81003,
"c": 0.13638,
"h": 102.4
},
"luminance": 0.53761
}Semantic roles & 50–950 ramp
primary
#D2C450
secondary
#3A438C
accent
#56E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E