#9BAC21#9BAC21
#9BAC21 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.7% C 0.153 H 116.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAC21 |
|---|---|
| RGB | rgb(155, 172, 33) |
| HSL | hsl(67, 68%, 40%) |
| HSV | hsv(67, 81%, 67%) |
| CMYK | cmyk(9.9%, 0%, 80.8%, 32.5%) |
| CIE-LAB | lab(66.96, -22.76, 62.93) |
| CIE-LCH | lch(66.96, 66.92, 109.88°) |
| OKLab | oklab(70.74% -0.0693 0.1369) |
| OKLCH | oklch(70.74% 0.153 116.9) |
| XYZ | xyz(28.5454, 36.5838, 6.9962) |
| Luminance | 0.3658 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.41
Barf Green
#94AC02
ΔE00 1.75
Pea Soup Green
#94A617
ΔE00 1.88
Pea Green
#8EAB12
ΔE00 2.63
Sickly Green
#94B21C
ΔE00 2.84
Icky Green
#8FAE22
ΔE00 3.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAC21 #3221AC
analogous
#AC7721 #9BAC21 #56AC21
triadic
#9BAC21 #219BAC #AC219B
tetradic
#9BAC21 #21AC77 #3221AC #AC2156
square
#9BAC21 #21AC77 #3221AC #AC2156
split-complementary
#9BAC21 #2156AC #7721AC
monochromatic
#3E450D #6D7917 #9BAC21 #C4D832 #D2E266
Accessibility & contrast
On white
2.53
#9BAC21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#9BAC21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAC21
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAC21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAC21 | 1.00 | 2.53 | 8.32 | 8.32 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B7A42F
Tritanopia (blue-blind)
#A5A293
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #9bac21; /* rgb */ color: rgb(155, 172, 33); /* oklch */ color: oklch(70.7% 0.153 116.9);
Tailwind
colors: {
custom: {
50: '#bcc46a',
500: '#9bac21',
950: '#000000',
},
}SCSS
$custom: #9bac21; $custom-light: #bcc46a; $custom-dark: #000000;
JSON
{
"hex": "#9bac21",
"rgb": {
"r": 155,
"g": 172,
"b": 33
},
"hsl": {
"h": 67.338,
"s": 67.805,
"l": 40.196
},
"oklch": {
"l": 0.70743,
"c": 0.15341,
"h": 116.9
},
"luminance": 0.36583
}Semantic roles & 50–950 ramp
primary
#9BAC21
secondary
#6E62C7
accent
#3DEB52
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A