#9AB126#9AB126
#9AB126 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 71.9% C 0.157 H 119.1°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9AB126 |
|---|---|
| RGB | rgb(154, 177, 38) |
| HSL | hsl(70, 65%, 42%) |
| HSV | hsv(70, 79%, 69%) |
| CMYK | cmyk(13%, 0%, 78.5%, 30.6%) |
| CIE-LAB | lab(68.35, -25.45, 62.71) |
| CIE-LCH | lch(68.35, 67.68, 112.09°) |
| OKLab | oklab(71.85% -0.0763 0.1373) |
| OKLCH | oklch(71.85% 0.157 119.1) |
| XYZ | xyz(29.3991, 38.4545, 7.7070) |
| Luminance | 0.3845 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Green
#94B21C
ΔE00 1.39
Puke Green
#9AAE07
ΔE00 1.93
Booger Green
#96B403
ΔE00 1.99
Barf Green
#94AC02
ΔE00 2.07
Icky Green
#8FAE22
ΔE00 2.13
Sick Green
#9DB92C
ΔE00 2.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9AB126 #3D26B1
analogous
#B18326 #9AB126 #55B126
triadic
#9AB126 #269AB1 #B1269A
tetradic
#9AB126 #26B183 #3D26B1 #B12655
square
#9AB126 #26B183 #3D26B1 #B12655
split-complementary
#9AB126 #2655B1 #8326B1
monochromatic
#424C10 #6E7F1B #9AB126 #BDD63F #CEE071
Accessibility & contrast
On white
2.42
#9AB126 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.69
#9AB126 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9AB126
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9AB126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9AB126 | 1.00 | 2.42 | 8.69 | 8.69 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#A3A797
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #9ab126; /* rgb */ color: rgb(154, 177, 38); /* oklch */ color: oklch(71.9% 0.157 119.1);
Tailwind
colors: {
custom: {
50: '#bbc86d',
500: '#9ab126',
950: '#000000',
},
}SCSS
$custom: #9ab126; $custom-light: #bbc86d; $custom-dark: #000000;
JSON
{
"hex": "#9ab126",
"rgb": {
"r": 154,
"g": 177,
"b": 38
},
"hsl": {
"h": 69.928,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.71851,
"c": 0.15704,
"h": 119.1
},
"luminance": 0.38454
}Semantic roles & 50–950 ramp
primary
#9AB126
secondary
#7B6BC7
accent
#40E85C
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B