#9AB316#9AB316
#9AB316 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.3% C 0.166 H 119.4°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9AB316 |
|---|---|
| RGB | rgb(154, 179, 22) |
| HSL | hsl(70, 78%, 39%) |
| HSV | hsv(70, 88%, 70%) |
| CMYK | cmyk(14%, 0%, 87.7%, 29.8%) |
| CIE-LAB | lab(68.87, -26.95, 67.14) |
| CIE-LCH | lch(68.87, 72.34, 111.87°) |
| OKLab | oklab(72.25% -0.0814 0.1442) |
| OKLCH | oklch(72.25% 0.166 119.4) |
| XYZ | xyz(29.5920, 39.1683, 6.7602) |
| Luminance | 0.3917 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger Green
#96B403
ΔE00 1.01
Sickly Green
#94B21C
ΔE00 1.39
Puke Green
#9AAE07
ΔE00 1.68
Barf Green
#94AC02
ΔE00 2.03
Sick Green
#9DB92C
ΔE00 2.09
Bright Olive
#9CBB04
ΔE00 2.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9AB316 #2F16B3
analogous
#B37E16 #9AB316 #4CB316
triadic
#9AB316 #169AB3 #B3169A
tetradic
#9AB316 #16B37E #2F16B3 #B3164C
square
#9AB316 #16B37E #2F16B3 #B3164C
split-complementary
#9AB316 #164CB3 #7E16B3
monochromatic
#3C4609 #6B7C0F #9AB316 #C5E422 #D3EB59
Accessibility & contrast
On white
2.38
#9AB316 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#9AB316 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9AB316
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9AB316 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9AB316 | 1.00 | 2.38 | 8.83 | 8.83 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BCA82A
Tritanopia (blue-blind)
#A4A998
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #9ab316; /* rgb */ color: rgb(154, 179, 22); /* oklch */ color: oklch(72.3% 0.166 119.4);
Tailwind
colors: {
custom: {
50: '#bcc967',
500: '#9ab316',
950: '#000000',
},
}SCSS
$custom: #9ab316; $custom-light: #bcc967; $custom-dark: #000000;
JSON
{
"hex": "#9ab316",
"rgb": {
"r": 154,
"g": 179,
"b": 22
},
"hsl": {
"h": 69.554,
"s": 78.109,
"l": 39.412
},
"oklch": {
"l": 0.7225,
"c": 0.16558,
"h": 119.4
},
"luminance": 0.39168
}Semantic roles & 50–950 ramp
primary
#9AB316
secondary
#6A57CE
accent
#33F552
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#121307
muted
#81827A