#D2D75E#D2D75E
#D2D75E is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.2% C 0.144 H 111.3°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #D2D75E |
|---|---|
| RGB | rgb(210, 215, 94) |
| HSL | hsl(62, 60%, 61%) |
| HSV | hsv(62, 56%, 84%) |
| CMYK | cmyk(2.3%, 0%, 56.3%, 15.7%) |
| CIE-LAB | lab(83.50, -17.60, 57.90) |
| CIE-LCH | lch(83.50, 60.51, 106.91°) |
| OKLab | oklab(85.17% -0.0522 0.1341) |
| OKLCH | oklch(85.17% 0.144 111.3) |
| XYZ | xyz(52.9005, 63.1118, 19.9826) |
| Luminance | 0.6311 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.00
Sickly Yellow
#D0E429
ΔE00 6.04
Dull Yellow
#EEDC5B
ΔE00 6.28
Piss Yellow
#DDD618
ΔE00 6.55
Green Yellow
#B5CE08
ΔE00 6.66
Khaki (CSS)
#F0E68C
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2D75E #635ED7
analogous
#D79F5E #D2D75E #96D75E
triadic
#D2D75E #5ED2D7 #D75ED2
tetradic
#D2D75E #5ED79F #635ED7 #D75E96
square
#D2D75E #5ED79F #635ED7 #D75E96
split-complementary
#D2D75E #5E96D7 #9F5ED7
monochromatic
#919525 #C0C631 #D2D75E #E0E38F #EDEFC0
Accessibility & contrast
On white
1.54
#D2D75E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.62
#D2D75E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2D75E
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2D75E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2D75E | 1.00 | 1.54 | 13.62 | 13.62 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CE51
Deuteranopia (green-blind)
#E7D265
Tritanopia (blue-blind)
#DFCBBD
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #d2d75e; /* rgb */ color: rgb(210, 215, 94); /* oklch */ color: oklch(85.2% 0.144 111.3);
Tailwind
colors: {
custom: {
50: '#e2e390',
500: '#d2d75e',
950: '#000000',
},
}SCSS
$custom: #d2d75e; $custom-light: #e2e390; $custom-dark: #000000;
JSON
{
"hex": "#d2d75e",
"rgb": {
"r": 210,
"g": 215,
"b": 94
},
"hsl": {
"h": 62.479,
"s": 60.199,
"l": 60.588
},
"oklch": {
"l": 0.85168,
"c": 0.14389,
"h": 111.3
},
"luminance": 0.63111
}Semantic roles & 50–950 ramp
primary
#D2D75E
secondary
#433F9A
accent
#1EC825
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F