#D1D74F#D1D74F
#D1D74F is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 84.9% C 0.156 H 111.7°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #D1D74F |
|---|---|
| RGB | rgb(209, 215, 79) |
| HSL | hsl(63, 63%, 58%) |
| HSV | hsv(63, 63%, 84%) |
| CMYK | cmyk(2.8%, 0%, 63.3%, 15.7%) |
| CIE-LAB | lab(83.30, -19.04, 64.01) |
| CIE-LCH | lch(83.30, 66.78, 106.57°) |
| OKLab | oklab(84.94% -0.0578 0.1451) |
| OKLCH | oklch(84.94% 0.156 111.7) |
| XYZ | xyz(52.0077, 62.7219, 16.7625) |
| Luminance | 0.6272 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 4.76
Piss Yellow
#DDD618
ΔE00 5.29
Green Yellow
#B5CE08
ΔE00 5.54
Baby Puke Green
#B6C406
ΔE00 6.03
Bile
#B5C306
ΔE00 6.23
Dull Yellow
#EEDC5B
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1D74F #554FD7
analogous
#D7994F #D1D74F #8DD74F
triadic
#D1D74F #4FD1D7 #D74FD1
tetradic
#D1D74F #4FD799 #554FD7 #D74F8D
square
#D1D74F #4FD799 #554FD7 #D74F8D
split-complementary
#D1D74F #4F8DD7 #994FD7
monochromatic
#878C20 #B7BE2B #D1D74F #DEE281 #EBEEB3
Accessibility & contrast
On white
1.55
#D1D74F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.54
#D1D74F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D1D74F
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1D74F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1D74F | 1.00 | 1.55 | 13.54 | 13.54 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CE3D
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#DFCBBB
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #d1d74f; /* rgb */ color: rgb(209, 215, 79); /* oklch */ color: oklch(84.9% 0.156 111.7);
Tailwind
colors: {
custom: {
50: '#e2e387',
500: '#d1d74f',
950: '#000000',
},
}SCSS
$custom: #d1d74f; $custom-light: #e2e387; $custom-dark: #000000;
JSON
{
"hex": "#d1d74f",
"rgb": {
"r": 209,
"g": 215,
"b": 79
},
"hsl": {
"h": 62.647,
"s": 62.963,
"l": 57.647
},
"oklch": {
"l": 0.84944,
"c": 0.15619,
"h": 111.7
},
"luminance": 0.62721
}Semantic roles & 50–950 ramp
primary
#D1D74F
secondary
#3C3992
accent
#42E649
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F