#D2D94C#D2D94C
#D2D94C is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.4% C 0.160 H 112.1°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #D2D94C |
|---|---|
| RGB | rgb(210, 217, 76) |
| HSL | hsl(63, 65%, 57%) |
| HSV | hsv(63, 65%, 85%) |
| CMYK | cmyk(3.2%, 0%, 65%, 14.9%) |
| CIE-LAB | lab(83.89, -19.79, 65.84) |
| CIE-LCH | lch(83.89, 68.75, 106.73°) |
| OKLab | oklab(85.43% -0.0602 0.1485) |
| OKLCH | oklch(85.43% 0.16 112.1) |
| XYZ | xyz(52.6972, 63.8504, 16.3845) |
| Luminance | 0.6385 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 4.16
Piss Yellow
#DDD618
ΔE00 5.09
Green Yellow
#B5CE08
ΔE00 5.45
Baby Puke Green
#B6C406
ΔE00 6.17
Dull Yellow
#EEDC5B
ΔE00 6.30
Bile
#B5C306
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2D94C #534CD9
analogous
#D99A4C #D2D94C #8BD94C
triadic
#D2D94C #4CD2D9 #D94CD2
tetradic
#D2D94C #4CD99A #534CD9 #D94C8B
square
#D2D94C #4CD99A #534CD9 #D94C8B
split-complementary
#D2D94C #4C8BD9 #9A4CD9
monochromatic
#878D1E #B8BF29 #D2D94C #DFE47E #EBEEB1
Accessibility & contrast
On white
1.53
#D2D94C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.77
#D2D94C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2D94C
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2D94C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2D94C | 1.00 | 1.53 | 13.77 | 13.77 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9CF38
Deuteranopia (green-blind)
#E9D356
Tritanopia (blue-blind)
#E0CCBC
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #d2d94c; /* rgb */ color: rgb(210, 217, 76); /* oklch */ color: oklch(85.4% 0.160 112.1);
Tailwind
colors: {
custom: {
50: '#e3e485',
500: '#d2d94c',
950: '#000000',
},
}SCSS
$custom: #d2d94c; $custom-light: #e3e485; $custom-dark: #000000;
JSON
{
"hex": "#d2d94c",
"rgb": {
"r": 210,
"g": 217,
"b": 76
},
"hsl": {
"h": 62.979,
"s": 64.977,
"l": 57.451
},
"oklch": {
"l": 0.85429,
"c": 0.16026,
"h": 112.1
},
"luminance": 0.63849
}Semantic roles & 50–950 ramp
primary
#D2D94C
secondary
#3B3792
accent
#40E848
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F