#D2D55F#D2D55F
#D2D55F is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.8% C 0.141 H 110.4°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #D2D55F |
|---|---|
| RGB | rgb(210, 213, 95) |
| HSL | hsl(62, 58%, 60%) |
| HSV | hsv(62, 55%, 84%) |
| CMYK | cmyk(1.4%, 0%, 55.4%, 16.5%) |
| CIE-LAB | lab(82.98, -16.53, 56.86) |
| CIE-LCH | lch(82.98, 59.22, 106.21°) |
| OKLab | oklab(84.75% -0.0491 0.132) |
| OKLCH | oklch(84.75% 0.141 110.4) |
| XYZ | xyz(52.4395, 62.1176, 20.0518) |
| Luminance | 0.6212 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.77
Dull Yellow
#EEDC5B
ΔE00 6.08
Piss Yellow
#DDD618
ΔE00 6.58
Sickly Yellow
#D0E429
ΔE00 6.58
Khaki (CSS)
#F0E68C
ΔE00 6.78
Green Yellow
#B5CE08
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2D55F #625FD5
analogous
#D59D5F #D2D55F #97D55F
triadic
#D2D55F #5FD2D5 #D55FD2
tetradic
#D2D55F #5FD59D #625FD5 #D55F97
square
#D2D55F #5FD59D #625FD5 #D55F97
split-complementary
#D2D55F #5F97D5 #9D5FD5
monochromatic
#909327 #C0C333 #D2D55F #E0E28F #EDEEC0
Accessibility & contrast
On white
1.56
#D2D55F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.42
#D2D55F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2D55F
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2D55F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2D55F | 1.00 | 1.56 | 13.42 | 13.42 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CD53
Deuteranopia (green-blind)
#E5D066
Tritanopia (blue-blind)
#DFC9BB
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #d2d55f; /* rgb */ color: rgb(210, 213, 95); /* oklch */ color: oklch(84.8% 0.141 110.4);
Tailwind
colors: {
custom: {
50: '#e2e190',
500: '#d2d55f',
950: '#000000',
},
}SCSS
$custom: #d2d55f; $custom-light: #e2e190; $custom-dark: #000000;
JSON
{
"hex": "#d2d55f",
"rgb": {
"r": 210,
"g": 213,
"b": 95
},
"hsl": {
"h": 61.525,
"s": 58.416,
"l": 60.392
},
"oklch": {
"l": 0.84752,
"c": 0.14081,
"h": 110.4
},
"luminance": 0.62116
}Semantic roles & 50–950 ramp
primary
#D2D55F
secondary
#424098
accent
#1FC624
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F