#9DB221#9DB221
#9DB221 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.3% C 0.159 H 118.2°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9DB221 |
|---|---|
| RGB | rgb(157, 178, 33) |
| HSL | hsl(69, 69%, 41%) |
| HSV | hsv(69, 81%, 70%) |
| CMYK | cmyk(11.8%, 0%, 81.5%, 30.2%) |
| CIE-LAB | lab(68.84, -24.87, 64.64) |
| CIE-LCH | lch(68.84, 69.26, 111.04°) |
| OKLab | oklab(72.29% -0.0752 0.1404) |
| OKLCH | oklch(72.29% 0.159 118.2) |
| XYZ | xyz(30.1003, 39.1190, 7.4036) |
| Luminance | 0.3912 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.55
Sickly Green
#94B21C
ΔE00 1.88
Booger Green
#96B403
ΔE00 1.90
Barf Green
#94AC02
ΔE00 2.15
Sick Green
#9DB92C
ΔE00 2.30
Icky Green
#8FAE22
ΔE00 2.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9DB221 #3621B2
analogous
#B27F21 #9DB221 #55B221
triadic
#9DB221 #219DB2 #B2219D
tetradic
#9DB221 #21B27F #3621B2 #B22155
square
#9DB221 #21B27F #3621B2 #B22155
split-complementary
#9DB221 #2155B2 #7F21B2
monochromatic
#424B0E #6F7E17 #9DB221 #C2DA36 #D2E36A
Accessibility & contrast
On white
2.38
#9DB221 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#9DB221 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9DB221
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9DB221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9DB221 | 1.00 | 2.38 | 8.82 | 8.82 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BCA930
Tritanopia (blue-blind)
#A7A898
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #9db221; /* rgb */ color: rgb(157, 178, 33); /* oklch */ color: oklch(72.3% 0.159 118.2);
Tailwind
colors: {
custom: {
50: '#bec96b',
500: '#9db221',
950: '#000000',
},
}SCSS
$custom: #9db221; $custom-light: #bec96b; $custom-dark: #000000;
JSON
{
"hex": "#9db221",
"rgb": {
"r": 157,
"g": 178,
"b": 33
},
"hsl": {
"h": 68.69,
"s": 68.72,
"l": 41.373
},
"oklch": {
"l": 0.72288,
"c": 0.1593,
"h": 118.2
},
"luminance": 0.39119
}Semantic roles & 50–950 ramp
primary
#9DB221
secondary
#7466C9
accent
#3CEC56
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A