#9BAB2C#9BAB2C
#9BAB2C 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.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAB2C |
|---|---|
| RGB | rgb(155, 171, 44) |
| HSL | hsl(68, 59%, 42%) |
| HSV | hsv(68, 74%, 67%) |
| CMYK | cmyk(9.4%, 0%, 74.3%, 32.9%) |
| CIE-LAB | lab(66.73, -21.80, 59.29) |
| CIE-LCH | lch(66.73, 63.17, 110.19°) |
| OKLab | oklab(70.57% -0.0657 0.1311) |
| OKLCH | oklch(70.57% 0.147 116.6) |
| XYZ | xyz(28.5358, 36.2766, 7.8812) |
| Luminance | 0.3628 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.99
Puke Green
#9AAE07
ΔE00 2.39
Barf Green
#94AC02
ΔE00 2.50
Pea Green
#8EAB12
ΔE00 2.89
Icky Green
#8FAE22
ΔE00 3.08
Sickly Green
#94B21C
ΔE00 3.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAB2C #3C2CAB
analogous
#AB7C2C #9BAB2C #5CAB2C
triadic
#9BAB2C #2C9BAB #AB2C9B
tetradic
#9BAB2C #2CAB7C #3C2CAB #AB2C5C
square
#9BAB2C #2CAB7C #3C2CAB #AB2C5C
split-complementary
#9BAB2C #2C5CAB #7C2CAB
monochromatic
#434A13 #6F7A1F #9BAB2C #BECF45 #CFDC76
Accessibility & contrast
On white
2.54
#9BAB2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#9BAB2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAB2C
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAB2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAB2C | 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)
#B7A211
Deuteranopia (green-blind)
#B6A337
Tritanopia (blue-blind)
#A5A193
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9bab2c; /* rgb */ color: rgb(155, 171, 44); /* oklch */ color: oklch(70.6% 0.147 116.6);
Tailwind
colors: {
custom: {
50: '#bcc36f',
500: '#9bab2c',
950: '#000000',
},
}SCSS
$custom: #9bab2c; $custom-light: #bcc36f; $custom-dark: #000000;
JSON
{
"hex": "#9bab2c",
"rgb": {
"r": 155,
"g": 171,
"b": 44
},
"hsl": {
"h": 67.559,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.70573,
"c": 0.14663,
"h": 116.6
},
"luminance": 0.36276
}Semantic roles & 50–950 ramp
primary
#9BAB2C
secondary
#7A6FC3
accent
#46E259
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B