#D2DD5F#D2DD5F
#D2DD5F is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.5% C 0.150 H 113.7°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #D2DD5F |
|---|---|
| RGB | rgb(210, 221, 95) |
| HSL | hsl(65, 65%, 62%) |
| HSV | hsv(65, 57%, 87%) |
| CMYK | cmyk(5%, 0%, 57%, 13.3%) |
| CIE-LAB | lab(85.12, -20.47, 59.27) |
| CIE-LCH | lch(85.12, 62.71, 109.05°) |
| OKLab | oklab(86.46% -0.0602 0.1371) |
| OKLCH | oklch(86.46% 0.15 113.7) |
| XYZ | xyz(54.5015, 66.2417, 20.7391) |
| Luminance | 0.6624 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 5.03
Greenish Beige
#C9D179
ΔE00 5.62
Green Yellow
#B5CE08
ΔE00 6.56
Yellowish Green
#B0DD16
ΔE00 7.16
Piss Yellow
#DDD618
ΔE00 7.19
Dull Yellow
#EEDC5B
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2DD5F #6A5FDD
analogous
#DDA95F #D2DD5F #93DD5F
triadic
#D2DD5F #5FD2DD #DD5FD2
tetradic
#D2DD5F #5FDDA9 #6A5FDD #DD5F93
square
#D2DD5F #5FDDA9 #6A5FDD #DD5F93
split-complementary
#D2DD5F #5F93DD #A95FDD
monochromatic
#95A022 #C4D22D #D2DD5F #E0E891 #EEF2C4
Accessibility & contrast
On white
1.47
#D2DD5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.25
#D2DD5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2DD5F
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2DD5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2DD5F | 1.00 | 1.47 | 14.25 | 14.25 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD351
Deuteranopia (green-blind)
#EBD667
Tritanopia (blue-blind)
#DED1C2
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #d2dd5f; /* rgb */ color: rgb(210, 221, 95); /* oklch */ color: oklch(86.5% 0.150 113.7);
Tailwind
colors: {
custom: {
50: '#e2e791',
500: '#d2dd5f',
950: '#000000',
},
}SCSS
$custom: #d2dd5f; $custom-light: #e2e791; $custom-dark: #000000;
JSON
{
"hex": "#d2dd5f",
"rgb": {
"r": 210,
"g": 221,
"b": 95
},
"hsl": {
"h": 65.238,
"s": 64.948,
"l": 61.961
},
"oklch": {
"l": 0.86464,
"c": 0.14978,
"h": 113.7
},
"luminance": 0.66241
}Semantic roles & 50–950 ramp
primary
#D2DD5F
secondary
#463DA3
accent
#19CD28
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F