#D2D75F#D2D75F
#D2D75F is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.2% C 0.143 H 111.3°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #D2D75F |
|---|---|
| RGB | rgb(210, 215, 95) |
| HSL | hsl(63, 60%, 61%) |
| HSV | hsv(63, 56%, 84%) |
| CMYK | cmyk(2.3%, 0%, 55.8%, 15.7%) |
| CIE-LAB | lab(83.51, -17.52, 57.46) |
| CIE-LCH | lch(83.51, 60.08, 106.96°) |
| OKLab | oklab(85.18% -0.0519 0.1333) |
| OKLCH | oklch(85.18% 0.143 111.3) |
| XYZ | xyz(52.9456, 63.1299, 20.2205) |
| Luminance | 0.6313 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.89
Sickly Yellow
#D0E429
ΔE00 6.13
Dull Yellow
#EEDC5B
ΔE00 6.31
Piss Yellow
#DDD618
ΔE00 6.66
Green Yellow
#B5CE08
ΔE00 6.75
Khaki (CSS)
#F0E68C
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2D75F #645FD7
analogous
#D7A05F #D2D75F #96D75F
triadic
#D2D75F #5FD2D7 #D75FD2
tetradic
#D2D75F #5FD7A0 #645FD7 #D75F96
square
#D2D75F #5FD7A0 #645FD7 #D75F96
split-complementary
#D2D75F #5F96D7 #A05FD7
monochromatic
#919626 #C1C732 #D2D75F #E0E390 #EEEFC1
Accessibility & contrast
On white
1.54
#D2D75F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.63
#D2D75F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2D75F
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2D75F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2D75F | 1.00 | 1.54 | 13.63 | 13.63 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CE52
Deuteranopia (green-blind)
#E7D266
Tritanopia (blue-blind)
#DFCBBD
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #d2d75f; /* rgb */ color: rgb(210, 215, 95); /* oklch */ color: oklch(85.2% 0.143 111.3);
Tailwind
colors: {
custom: {
50: '#e2e390',
500: '#d2d75f',
950: '#000000',
},
}SCSS
$custom: #d2d75f; $custom-light: #e2e390; $custom-dark: #000000;
JSON
{
"hex": "#d2d75f",
"rgb": {
"r": 210,
"g": 215,
"b": 95
},
"hsl": {
"h": 62.5,
"s": 60,
"l": 60.784
},
"oklch": {
"l": 0.85178,
"c": 0.14301,
"h": 111.3
},
"luminance": 0.63129
}Semantic roles & 50–950 ramp
primary
#D2D75F
secondary
#433F9B
accent
#1EC825
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F