#D9C45F#D9C45F
#D9C45F is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.8% C 0.124 H 97.7°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C45F |
|---|---|
| RGB | rgb(217, 196, 95) |
| HSL | hsl(50, 62%, 61%) |
| HSV | hsv(50, 56%, 85%) |
| CMYK | cmyk(0%, 9.7%, 56.2%, 14.9%) |
| CIE-LAB | lab(79.08, -5.05, 52.56) |
| CIE-LCH | lch(79.08, 52.81, 95.49°) |
| OKLab | oklab(81.79% -0.0167 0.1226) |
| OKLCH | oklch(81.79% 0.124 97.7) |
| XYZ | xyz(50.4226, 55.0599, 18.7959) |
| Luminance | 0.5506 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.34
Sandy
#F1DA7A
ΔE00 5.47
Maize
#F4D054
ΔE00 5.75
Light Mustard
#F7D560
ΔE00 5.91
Dull Yellow
#EEDC5B
ΔE00 6.41
Mustard Yellow
#D2BD0A
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C45F #5F74D9
analogous
#D9875F #D9C45F #B1D95F
triadic
#D9C45F #5FD9C4 #C45FD9
tetradic
#D9C45F #5FD987 #5F74D9 #D95FB1
square
#D9C45F #5FD987 #5F74D9 #D95FB1
split-complementary
#D9C45F #5FB1D9 #875FD9
monochromatic
#998524 #CBB030 #D9C45F #E5D690 #F0E8C2
Accessibility & contrast
On white
1.75
#D9C45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.01
#D9C45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C45F
12.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C45F | 1.00 | 1.75 | 12.01 | 12.01 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C055
Deuteranopia (green-blind)
#DAC764
Tritanopia (blue-blind)
#E8B7AD
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d9c45f; /* rgb */ color: rgb(217, 196, 95); /* oklch */ color: oklch(81.8% 0.124 97.7);
Tailwind
colors: {
custom: {
50: '#e7d58f',
500: '#d9c45f',
950: '#000000',
},
}SCSS
$custom: #d9c45f; $custom-light: #e7d58f; $custom-dark: #000000;
JSON
{
"hex": "#d9c45f",
"rgb": {
"r": 217,
"g": 196,
"b": 95
},
"hsl": {
"h": 49.672,
"s": 61.616,
"l": 61.176
},
"oklch": {
"l": 0.81791,
"c": 0.12374,
"h": 97.7
},
"luminance": 0.55058
}Semantic roles & 50–950 ramp
primary
#D9C45F
secondary
#3F4F9E
accent
#3AC91C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F