#D2D45F#D2D45F
#D2D45F is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.5% C 0.140 H 109.9°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #D2D45F |
|---|---|
| RGB | rgb(210, 212, 95) |
| HSL | hsl(61, 58%, 60%) |
| HSV | hsv(61, 55%, 83%) |
| CMYK | cmyk(0.9%, 0%, 55.2%, 16.9%) |
| CIE-LAB | lab(82.71, -16.04, 56.56) |
| CIE-LCH | lch(82.71, 58.79, 105.83°) |
| OKLab | oklab(84.54% -0.0477 0.1313) |
| OKLCH | oklch(84.54% 0.14 109.9) |
| XYZ | xyz(52.1887, 61.6161, 19.9682) |
| Luminance | 0.6161 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.73
Dull Yellow
#EEDC5B
ΔE00 5.98
Piss Yellow
#DDD618
ΔE00 6.56
Khaki (CSS)
#F0E68C
ΔE00 6.76
Sickly Yellow
#D0E429
ΔE00 6.82
Dirty Yellow
#CDC50A
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2D45F #615FD4
analogous
#D49C5F #D2D45F #97D45F
triadic
#D2D45F #5FD2D4 #D45FD2
tetradic
#D2D45F #5FD49C #615FD4 #D45F97
square
#D2D45F #5FD49C #615FD4 #D45F97
split-complementary
#D2D45F #5F97D4 #9C5FD4
monochromatic
#909127 #BFC234 #D2D45F #E0E18F #EDEEBF
Accessibility & contrast
On white
1.58
#D2D45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.32
#D2D45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2D45F
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2D45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2D45F | 1.00 | 1.58 | 13.32 | 13.32 |
| #FFFFFF | 1.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CC53
Deuteranopia (green-blind)
#E4D066
Tritanopia (blue-blind)
#DFC8BA
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #d2d45f; /* rgb */ color: rgb(210, 212, 95); /* oklch */ color: oklch(84.5% 0.140 109.9);
Tailwind
colors: {
custom: {
50: '#e2e190',
500: '#d2d45f',
950: '#000000',
},
}SCSS
$custom: #d2d45f; $custom-light: #e2e190; $custom-dark: #000000;
JSON
{
"hex": "#d2d45f",
"rgb": {
"r": 210,
"g": 212,
"b": 95
},
"hsl": {
"h": 61.026,
"s": 57.635,
"l": 60.196
},
"oklch": {
"l": 0.84538,
"c": 0.13972,
"h": 109.9
},
"luminance": 0.61615
}Semantic roles & 50–950 ramp
primary
#D2D45F
secondary
#424097
accent
#20C523
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F