#D2D94F#D2D94F
#D2D94F is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.5% C 0.158 H 112.1°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).
Color values
| HEX | #D2D94F |
|---|---|
| RGB | rgb(210, 217, 79) |
| HSL | hsl(63, 64%, 58%) |
| HSV | hsv(63, 64%, 85%) |
| CMYK | cmyk(3.2%, 0%, 63.6%, 14.9%) |
| CIE-LAB | lab(83.91, -19.61, 64.68) |
| CIE-LCH | lch(83.91, 67.58, 106.87°) |
| OKLab | oklab(85.45% -0.0594 0.1465) |
| OKLCH | oklch(85.45% 0.158 112.1) |
| XYZ | xyz(52.8040, 63.8930, 16.9466) |
| Luminance | 0.6389 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 4.35
Piss Yellow
#DDD618
ΔE00 5.32
Green Yellow
#B5CE08
ΔE00 5.58
Baby Puke Green
#B6C406
ΔE00 6.29
Dull Yellow
#EEDC5B
ΔE00 6.30
Bile
#B5C306
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2D94F #564FD9
analogous
#D99B4F #D2D94F #8DD94F
triadic
#D2D94F #4FD2D9 #D94FD2
tetradic
#D2D94F #4FD99B #564FD9 #D94F8D
square
#D2D94F #4FD99B #564FD9 #D94F8D
split-complementary
#D2D94F #4F8DD9 #9B4FD9
monochromatic
#898F1F #B9C12A #D2D94F #DFE481 #ECEFB4
Accessibility & contrast
On white
1.52
#D2D94F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.78
#D2D94F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2D94F
13.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2D94F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2D94F | 1.00 | 1.52 | 13.78 | 13.78 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9CF3D
Deuteranopia (green-blind)
#E9D358
Tritanopia (blue-blind)
#E0CCBD
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #d2d94f; /* rgb */ color: rgb(210, 217, 79); /* oklch */ color: oklch(85.5% 0.158 112.1);
Tailwind
colors: {
custom: {
50: '#e3e487',
500: '#d2d94f',
950: '#000000',
},
}SCSS
$custom: #d2d94f; $custom-light: #e3e487; $custom-dark: #000000;
JSON
{
"hex": "#d2d94f",
"rgb": {
"r": 210,
"g": 217,
"b": 79
},
"hsl": {
"h": 63.043,
"s": 64.486,
"l": 58.039
},
"oklch": {
"l": 0.85454,
"c": 0.1581,
"h": 112.1
},
"luminance": 0.63892
}Semantic roles & 50–950 ramp
primary
#D2D94F
secondary
#3D3894
accent
#40E749
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F