#D9C450#D9C450
#D9C450 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.6% C 0.136 H 99.0°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C450 |
|---|---|
| RGB | rgb(217, 196, 80) |
| HSL | hsl(51, 64%, 58%) |
| HSV | hsv(51, 63%, 85%) |
| CMYK | cmyk(0%, 9.7%, 63.1%, 14.9%) |
| CIE-LAB | lab(78.93, -6.09, 59.15) |
| CIE-LCH | lch(78.93, 59.46, 95.88°) |
| OKLab | oklab(81.63% -0.0214 0.1348) |
| OKLCH | oklch(81.63% 0.136 99) |
| XYZ | xyz(49.8053, 54.8130, 15.5444) |
| Luminance | 0.5481 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 4.73
Sand (survey)
#E2CA76
ΔE00 5.02
Ugly Yellow
#D0C101
ΔE00 5.11
Maize
#F4D054
ΔE00 5.32
Dark Yellow
#D5B60A
ΔE00 5.66
Dirty Yellow
#CDC50A
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C450 #5065D9
analogous
#D97F50 #D9C450 #A9D950
triadic
#D9C450 #50D9C4 #C450D9
tetradic
#D9C450 #50D97F #5065D9 #D950A9
square
#D9C450 #50D97F #5065D9 #D950A9
split-complementary
#D9C450 #50A9D9 #7F50D9
monochromatic
#8F7E1F #C2AA2A #D9C450 #E4D582 #EFE6B5
Accessibility & contrast
On white
1.76
#D9C450 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.96
#D9C450 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C450
11.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C450 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C450 | 1.00 | 1.76 | 11.96 | 11.96 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BF42
Deuteranopia (green-blind)
#DBC756
Tritanopia (blue-blind)
#E9B7AB
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #d9c450; /* rgb */ color: rgb(217, 196, 80); /* oklch */ color: oklch(81.6% 0.136 99.0);
Tailwind
colors: {
custom: {
50: '#e8d586',
500: '#d9c450',
950: '#000000',
},
}SCSS
$custom: #d9c450; $custom-light: #e8d586; $custom-dark: #000000;
JSON
{
"hex": "#d9c450",
"rgb": {
"r": 217,
"g": 196,
"b": 80
},
"hsl": {
"h": 50.803,
"s": 64.319,
"l": 58.235
},
"oklch": {
"l": 0.81633,
"c": 0.13646,
"h": 99
},
"luminance": 0.54811
}Semantic roles & 50–950 ramp
primary
#D9C450
secondary
#384795
accent
#5AE740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E