#D2DF5F#D2DF5F
#D2DF5F is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 86.9% C 0.152 H 114.5°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #D2DF5F |
|---|---|
| RGB | rgb(210, 223, 95) |
| HSL | hsl(66, 67%, 62%) |
| HSV | hsv(66, 57%, 87%) |
| CMYK | cmyk(5.8%, 0%, 57.4%, 12.5%) |
| CIE-LAB | lab(85.66, -21.44, 59.87) |
| CIE-LCH | lch(85.66, 63.59, 109.70°) |
| OKLab | oklab(86.89% -0.063 0.1384) |
| OKLCH | oklch(86.89% 0.152 114.5) |
| XYZ | xyz(55.0327, 67.3041, 20.9162) |
| Luminance | 0.6730 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 4.77
Greenish Beige
#C9D179
ΔE00 5.95
Green Yellow
#B5CE08
ΔE00 6.61
Yellowish Green
#B0DD16
ΔE00 6.85
Pear
#CBF85F
ΔE00 7.17
Straw
#FCF679
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2DF5F #6C5FDF
analogous
#DFAC5F #D2DF5F #92DF5F
triadic
#D2DF5F #5FD2DF #DF5FD2
tetradic
#D2DF5F #5FDFAC #6C5FDF #DF5F92
square
#D2DF5F #5FDFAC #6C5FDF #DF5F92
split-complementary
#D2DF5F #5F92DF #AC5FDF
monochromatic
#96A321 #C4D52C #D2DF5F #E0E992 #EFF3C5
Accessibility & contrast
On white
1.45
#D2DF5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.46
#D2DF5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2DF5F
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2DF5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2DF5F | 1.00 | 1.45 | 14.46 | 14.46 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EED551
Deuteranopia (green-blind)
#EDD767
Tritanopia (blue-blind)
#DED3C3
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #d2df5f; /* rgb */ color: rgb(210, 223, 95); /* oklch */ color: oklch(86.9% 0.152 114.5);
Tailwind
colors: {
custom: {
50: '#e2e891',
500: '#d2df5f',
950: '#000000',
},
}SCSS
$custom: #d2df5f; $custom-light: #e2e891; $custom-dark: #000000;
JSON
{
"hex": "#d2df5f",
"rgb": {
"r": 210,
"g": 223,
"b": 95
},
"hsl": {
"h": 66.094,
"s": 66.667,
"l": 62.353
},
"oklch": {
"l": 0.86894,
"c": 0.15206,
"h": 114.5
},
"luminance": 0.67303
}Semantic roles & 50–950 ramp
primary
#D2DF5F
secondary
#473CA6
accent
#17CF2A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F