#9AB31C#9AB31C
#9AB31C 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 | #9AB31C |
|---|---|
| RGB | rgb(154, 179, 28) |
| HSL | hsl(70, 73%, 41%) |
| HSV | hsv(70, 84%, 70%) |
| CMYK | cmyk(14%, 0%, 84.4%, 29.8%) |
| CIE-LAB | lab(68.89, -26.78, 65.86) |
| CIE-LCH | lch(68.89, 71.10, 112.13°) |
| OKLab | oklab(72.27% -0.0806 0.1424) |
| OKLCH | oklch(72.27% 0.164 119.5) |
| XYZ | xyz(29.6568, 39.1942, 7.1013) |
| Luminance | 0.3919 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger Green
#96B403
ΔE00 1.17
Sickly Green
#94B21C
ΔE00 1.21
Puke Green
#9AAE07
ΔE00 1.84
Sick Green
#9DB92C
ΔE00 1.90
Barf Green
#94AC02
ΔE00 2.11
Bright Olive
#9CBB04
ΔE00 2.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9AB31C #351CB3
analogous
#B3801C #9AB31C #4EB31C
triadic
#9AB31C #1C9AB3 #B31C9A
tetradic
#9AB31C #1CB380 #351CB3 #B31C4E
square
#9AB31C #1CB380 #351CB3 #B31C4E
split-complementary
#9AB31C #1C4EB3 #801CB3
monochromatic
#3F490B #6C7E14 #9AB31C #C1DE2E #D1E763
Accessibility & contrast
On white
2.38
#9AB31C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#9AB31C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9AB31C
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9AB31C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9AB31C | 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)
#BCA92E
Tritanopia (blue-blind)
#A4A999
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #9ab31c; /* rgb */ color: rgb(154, 179, 28); /* oklch */ color: oklch(72.3% 0.164 119.5);
Tailwind
colors: {
custom: {
50: '#bcc969',
500: '#9ab31c',
950: '#000000',
},
}SCSS
$custom: #9ab31c; $custom-light: #bcc969; $custom-dark: #000000;
JSON
{
"hex": "#9ab31c",
"rgb": {
"r": 154,
"g": 179,
"b": 28
},
"hsl": {
"h": 69.934,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.72271,
"c": 0.16358,
"h": 119.5
},
"luminance": 0.39194
}Semantic roles & 50–950 ramp
primary
#9AB31C
secondary
#715FCB
accent
#38F057
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A