#9BAB2B#9BAB2B
#9BAB2B is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.6% C 0.147 H 116.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAB2B |
|---|---|
| RGB | rgb(155, 171, 43) |
| HSL | hsl(68, 60%, 42%) |
| HSV | hsv(68, 75%, 67%) |
| CMYK | cmyk(9.4%, 0%, 74.9%, 32.9%) |
| CIE-LAB | lab(66.73, -21.85, 59.63) |
| CIE-LCH | lch(66.73, 63.50, 110.12°) |
| OKLab | oklab(70.57% -0.066 0.1316) |
| OKLCH | oklch(70.57% 0.147 116.6) |
| XYZ | xyz(28.5172, 36.2692, 7.7834) |
| Luminance | 0.3627 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.94
Puke Green
#9AAE07
ΔE00 2.30
Barf Green
#94AC02
ΔE00 2.43
Pea Green
#8EAB12
ΔE00 2.87
Icky Green
#8FAE22
ΔE00 3.09
Sickly Green
#94B21C
ΔE00 3.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAB2B #3B2BAB
analogous
#AB7B2B #9BAB2B #5BAB2B
triadic
#9BAB2B #2B9BAB #AB2B9B
tetradic
#9BAB2B #2BAB7B #3B2BAB #AB2B5B
square
#9BAB2B #2BAB7B #3B2BAB #AB2B5B
split-complementary
#9BAB2B #2B5BAB #7B2BAB
monochromatic
#424912 #6F7A1F #9BAB2B #BED043 #CFDC74
Accessibility & contrast
On white
2.54
#9BAB2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#9BAB2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAB2B
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAB2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAB2B | 1.00 | 2.54 | 8.25 | 8.25 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A20E
Deuteranopia (green-blind)
#B6A336
Tritanopia (blue-blind)
#A5A193
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9bab2b; /* rgb */ color: rgb(155, 171, 43); /* oklch */ color: oklch(70.6% 0.147 116.6);
Tailwind
colors: {
custom: {
50: '#bcc36e',
500: '#9bab2b',
950: '#000000',
},
}SCSS
$custom: #9bab2b; $custom-light: #bcc36e; $custom-dark: #000000;
JSON
{
"hex": "#9bab2b",
"rgb": {
"r": 155,
"g": 171,
"b": 43
},
"hsl": {
"h": 67.5,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.70567,
"c": 0.1472,
"h": 116.6
},
"luminance": 0.36269
}Semantic roles & 50–950 ramp
primary
#9BAB2B
secondary
#796EC4
accent
#45E359
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B