#D2D35A#D2D35A
#D2D35A is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.3% C 0.143 H 109.6°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #D2D35A |
|---|---|
| RGB | rgb(210, 211, 90) |
| HSL | hsl(60, 58%, 59%) |
| HSV | hsv(60, 57%, 83%) |
| CMYK | cmyk(0.5%, 0%, 57.3%, 17.3%) |
| CIE-LAB | lab(82.39, -15.91, 58.42) |
| CIE-LCH | lch(82.39, 60.55, 105.24°) |
| OKLab | oklab(84.27% -0.0478 0.1347) |
| OKLCH | oklch(84.27% 0.143 109.6) |
| XYZ | xyz(51.7195, 61.0297, 18.7263) |
| Luminance | 0.6103 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.29
Dull Yellow
#EEDC5B
ΔE00 5.71
Piss Yellow
#DDD618
ΔE00 6.00
Dirty Yellow
#CDC50A
ΔE00 6.34
Vomit Yellow
#C7C10C
ΔE00 6.57
Baby Puke Green
#B6C406
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2D35A #5B5AD3
analogous
#D3985A #D2D35A #96D35A
triadic
#D2D35A #5AD2D3 #D35AD2
tetradic
#D2D35A #5AD398 #5B5AD3 #D35A96
square
#D2D35A #5AD398 #5B5AD3 #D35A96
split-complementary
#D2D35A #5A96D3 #985AD3
monochromatic
#8C8D26 #BCBD32 #D2D35A #DFE08A #ECEDBB
Accessibility & contrast
On white
1.59
#D2D35A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.21
#D2D35A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2D35A
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2D35A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2D35A | 1.00 | 1.59 | 13.21 | 13.21 |
| #FFFFFF | 1.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CB4D
Deuteranopia (green-blind)
#E4CF61
Tritanopia (blue-blind)
#DFC7B9
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #d2d35a; /* rgb */ color: rgb(210, 211, 90); /* oklch */ color: oklch(84.3% 0.143 109.6);
Tailwind
colors: {
custom: {
50: '#e2e08d',
500: '#d2d35a',
950: '#000000',
},
}SCSS
$custom: #d2d35a; $custom-light: #e2e08d; $custom-dark: #000000;
JSON
{
"hex": "#d2d35a",
"rgb": {
"r": 210,
"g": 211,
"b": 90
},
"hsl": {
"h": 60.496,
"s": 57.895,
"l": 59.02
},
"oklch": {
"l": 0.84273,
"c": 0.14297,
"h": 109.6
},
"luminance": 0.61028
}Semantic roles & 50–950 ramp
primary
#D2D35A
secondary
#3F3E93
accent
#47E148
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F