#9AB31A#9AB31A
#9AB31A is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.3% C 0.164 H 119.5°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9AB31A |
|---|---|
| RGB | rgb(154, 179, 26) |
| HSL | hsl(70, 75%, 40%) |
| HSV | hsv(70, 85%, 70%) |
| CMYK | cmyk(14%, 0%, 85.5%, 29.8%) |
| CIE-LAB | lab(68.89, -26.84, 66.31) |
| CIE-LCH | lch(68.89, 71.54, 112.04°) |
| OKLab | oklab(72.26% -0.0809 0.143) |
| OKLCH | oklch(72.26% 0.164 119.5) |
| XYZ | xyz(29.6337, 39.1850, 6.9794) |
| Luminance | 0.3918 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger Green
#96B403
ΔE00 1.10
Sickly Green
#94B21C
ΔE00 1.27
Puke Green
#9AAE07
ΔE00 1.78
Sick Green
#9DB92C
ΔE00 1.97
Barf Green
#94AC02
ΔE00 2.08
Bright Olive
#9CBB04
ΔE00 2.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9AB31A #331AB3
analogous
#B37F1A #9AB31A #4DB31A
triadic
#9AB31A #1A9AB3 #B31A9A
tetradic
#9AB31A #1AB37F #331AB3 #B31A4D
square
#9AB31A #1AB37F #331AB3 #B31A4D
split-complementary
#9AB31A #1A4DB3 #7F1AB3
monochromatic
#3E480A #6C7E12 #9AB31A #C2E02A #D2E860
Accessibility & contrast
On white
2.38
#9AB31A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#9AB31A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9AB31A
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9AB31A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9AB31A | 1.00 | 2.38 | 8.84 | 8.84 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BCA82C
Tritanopia (blue-blind)
#A4A999
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #9ab31a; /* rgb */ color: rgb(154, 179, 26); /* oklch */ color: oklch(72.3% 0.164 119.5);
Tailwind
colors: {
custom: {
50: '#bcc969',
500: '#9ab31a',
950: '#000000',
},
}SCSS
$custom: #9ab31a; $custom-light: #bcc969; $custom-dark: #000000;
JSON
{
"hex": "#9ab31a",
"rgb": {
"r": 154,
"g": 179,
"b": 26
},
"hsl": {
"h": 69.804,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.72264,
"c": 0.16429,
"h": 119.5
},
"luminance": 0.39185
}Semantic roles & 50–950 ramp
primary
#9AB31A
secondary
#6F5DCC
accent
#37F155
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A