#D9C546#D9C546
#D9C546 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.8% C 0.145 H 100.2°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C546 |
|---|---|
| RGB | rgb(217, 197, 70) |
| HSL | hsl(52, 66%, 56%) |
| HSV | hsv(52, 68%, 85%) |
| CMYK | cmyk(0%, 9.2%, 67.7%, 14.9%) |
| CIE-LAB | lab(79.12, -7.19, 63.49) |
| CIE-LCH | lch(79.12, 63.90, 96.46°) |
| OKLab | oklab(81.75% -0.0257 0.1424) |
| OKLCH | oklch(81.75% 0.145 100.2) |
| XYZ | xyz(49.6892, 55.1287, 13.8167) |
| Luminance | 0.5513 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 3.79
Ugly Yellow
#D0C101
ΔE00 3.99
Dirty Yellow
#CDC50A
ΔE00 4.60
Vomit Yellow
#C7C10C
ΔE00 4.97
Dark Yellow
#D5B60A
ΔE00 5.24
Olive Yellow
#C2B709
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C546 #465AD9
analogous
#D97C46 #D9C546 #A4D946
triadic
#D9C546 #46D9C5 #C546D9
tetradic
#D9C546 #46D97C #465AD9 #D946A4
square
#D9C546 #46D97C #465AD9 #D946A4
split-complementary
#D9C546 #46A4D9 #7C46D9
monochromatic
#897A1C #BBA726 #D9C546 #E3D579 #EEE5AC
Accessibility & contrast
On white
1.75
#D9C546 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.03
#D9C546 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C546
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C546 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C546 | 1.00 | 1.75 | 12.03 | 12.03 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C034
Deuteranopia (green-blind)
#DDC74D
Tritanopia (blue-blind)
#E9B7AB
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d9c546; /* rgb */ color: rgb(217, 197, 70); /* oklch */ color: oklch(81.8% 0.145 100.2);
Tailwind
colors: {
custom: {
50: '#e8d680',
500: '#d9c546',
950: '#000000',
},
}SCSS
$custom: #d9c546; $custom-light: #e8d680; $custom-dark: #000000;
JSON
{
"hex": "#d9c546",
"rgb": {
"r": 217,
"g": 197,
"b": 70
},
"hsl": {
"h": 51.837,
"s": 65.919,
"l": 56.275
},
"oklch": {
"l": 0.81752,
"c": 0.1447,
"h": 100.2
},
"luminance": 0.55126
}Semantic roles & 50–950 ramp
primary
#D9C546
secondary
#35418F
accent
#56E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E