#D1D95F#D1D95F
#D1D95F is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.5% C 0.145 H 112.5°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #D1D95F |
|---|---|
| RGB | rgb(209, 217, 95) |
| HSL | hsl(64, 62%, 61%) |
| HSV | hsv(64, 56%, 85%) |
| CMYK | cmyk(3.7%, 0%, 56.2%, 14.9%) |
| CIE-LAB | lab(83.97, -18.91, 57.96) |
| CIE-LCH | lch(83.97, 60.97, 108.07°) |
| OKLab | oklab(85.53% -0.0558 0.1344) |
| OKLCH | oklch(85.53% 0.145 112.5) |
| XYZ | xyz(53.1741, 64.0083, 20.3780) |
| Luminance | 0.6401 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.01
Sickly Yellow
#D0E429
ΔE00 5.69
Green Yellow
#B5CE08
ΔE00 6.53
Dull Yellow
#EEDC5B
ΔE00 6.83
Piss Yellow
#DDD618
ΔE00 6.96
Khaki (CSS)
#F0E68C
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1D95F #675FD9
analogous
#D9A45F #D1D95F #94D95F
triadic
#D1D95F #5FD1D9 #D95FD1
tetradic
#D1D95F #5FD9A4 #675FD9 #D95F94
square
#D1D95F #5FD9A4 #675FD9 #D95F94
split-complementary
#D1D95F #5F94D9 #A45FD9
monochromatic
#929924 #C1CB30 #D1D95F #DFE590 #EDF0C2
Accessibility & contrast
On white
1.52
#D1D95F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.80
#D1D95F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D1D95F
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1D95F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1D95F | 1.00 | 1.52 | 13.80 | 13.80 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D052
Deuteranopia (green-blind)
#E8D366
Tritanopia (blue-blind)
#DECDBE
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #d1d95f; /* rgb */ color: rgb(209, 217, 95); /* oklch */ color: oklch(85.5% 0.145 112.5);
Tailwind
colors: {
custom: {
50: '#e1e490',
500: '#d1d95f',
950: '#000000',
},
}SCSS
$custom: #d1d95f; $custom-light: #e1e490; $custom-dark: #000000;
JSON
{
"hex": "#d1d95f",
"rgb": {
"r": 209,
"g": 217,
"b": 95
},
"hsl": {
"h": 63.934,
"s": 61.616,
"l": 61.176
},
"oklch": {
"l": 0.85527,
"c": 0.14547,
"h": 112.5
},
"luminance": 0.64007
}Semantic roles & 50–950 ramp
primary
#D1D95F
secondary
#453F9E
accent
#1CC928
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F