#9BAB31#9BAB31
#9BAB31 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.6% C 0.144 H 116.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAB31 |
|---|---|
| RGB | rgb(155, 171, 49) |
| HSL | hsl(68, 55%, 43%) |
| HSV | hsv(68, 71%, 67%) |
| CMYK | cmyk(9.4%, 0%, 71.3%, 32.9%) |
| CIE-LAB | lab(66.76, -21.54, 57.53) |
| CIE-LCH | lch(66.76, 61.43, 110.52°) |
| OKLab | oklab(70.61% -0.0646 0.1282) |
| OKLCH | oklch(70.61% 0.144 116.7) |
| XYZ | xyz(28.6355, 36.3165, 8.4064) |
| Luminance | 0.3632 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.30
Puke Green
#9AAE07
ΔE00 2.85
Barf Green
#94AC02
ΔE00 2.90
Pea Green
#8EAB12
ΔE00 3.09
Icky Green
#8FAE22
ΔE00 3.12
Booger
#9BB53C
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAB31 #4131AB
analogous
#AB7E31 #9BAB31 #5EAB31
triadic
#9BAB31 #319BAB #AB319B
tetradic
#9BAB31 #31AB7E #4131AB #AB315E
square
#9BAB31 #31AB7E #4131AB #AB315E
split-complementary
#9BAB31 #315EAB #7E31AB
monochromatic
#454C16 #707B23 #9BAB31 #BBCC4D #CDDA7D
Accessibility & contrast
On white
2.54
#9BAB31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#9BAB31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAB31
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAB31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAB31 | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A21C
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#A5A193
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9bab31; /* rgb */ color: rgb(155, 171, 49); /* oklch */ color: oklch(70.6% 0.144 116.7);
Tailwind
colors: {
custom: {
50: '#bcc371',
500: '#9bab31',
950: '#000000',
},
}SCSS
$custom: #9bab31; $custom-light: #bcc371; $custom-dark: #000000;
JSON
{
"hex": "#9bab31",
"rgb": {
"r": 155,
"g": 171,
"b": 49
},
"hsl": {
"h": 67.869,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.70607,
"c": 0.14356,
"h": 116.7
},
"luminance": 0.36316
}Semantic roles & 50–950 ramp
primary
#9BAB31
secondary
#8075C2
accent
#49DF5D
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B