#D9C95F#D9C95F
#D9C95F is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.128 H 100.8°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C95F |
|---|---|
| RGB | rgb(217, 201, 95) |
| HSL | hsl(52, 62%, 61%) |
| HSV | hsv(52, 56%, 85%) |
| CMYK | cmyk(0%, 7.4%, 56.2%, 14.9%) |
| CIE-LAB | lab(80.38, -7.62, 54.06) |
| CIE-LCH | lch(80.38, 54.59, 98.02°) |
| OKLab | oklab(82.82% -0.0241 0.1258) |
| OKLCH | oklch(82.82% 0.128 100.8) |
| XYZ | xyz(51.5693, 57.3532, 19.1781) |
| Luminance | 0.5735 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.20
Sandy
#F1DA7A
ΔE00 5.05
Dull Yellow
#EEDC5B
ΔE00 5.18
Light Mustard
#F7D560
ΔE00 6.06
Maize
#F4D054
ΔE00 6.13
Ugly Yellow
#D0C101
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C95F #5F6FD9
analogous
#D98C5F #D9C95F #ACD95F
triadic
#D9C95F #5FD9C9 #C95FD9
tetradic
#D9C95F #5FD98C #5F6FD9 #D95FAC
square
#D9C95F #5FD98C #5F6FD9 #D95FAC
split-complementary
#D9C95F #5FACD9 #8C5FD9
monochromatic
#998A24 #CBB630 #D9C95F #E5DA90 #F0EAC2
Accessibility & contrast
On white
1.68
#D9C95F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.47
#D9C95F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C95F
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C95F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C95F | 1.00 | 1.68 | 12.47 | 12.47 |
| #FFFFFF | 1.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C454
Deuteranopia (green-blind)
#DECA64
Tritanopia (blue-blind)
#E8BDB1
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #d9c95f; /* rgb */ color: rgb(217, 201, 95); /* oklch */ color: oklch(82.8% 0.128 100.8);
Tailwind
colors: {
custom: {
50: '#e7d990',
500: '#d9c95f',
950: '#000000',
},
}SCSS
$custom: #d9c95f; $custom-light: #e7d990; $custom-dark: #000000;
JSON
{
"hex": "#d9c95f",
"rgb": {
"r": 217,
"g": 201,
"b": 95
},
"hsl": {
"h": 52.131,
"s": 61.616,
"l": 61.176
},
"oklch": {
"l": 0.82823,
"c": 0.12811,
"h": 100.8
},
"luminance": 0.57351
}Semantic roles & 50–950 ramp
primary
#D9C95F
secondary
#3F4B9E
accent
#33C91C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F