#9BAB27#9BAB27
#9BAB27 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.5% C 0.149 H 116.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAB27 |
|---|---|
| RGB | rgb(155, 171, 39) |
| HSL | hsl(67, 63%, 41%) |
| HSV | hsv(67, 77%, 67%) |
| CMYK | cmyk(9.4%, 0%, 77.2%, 32.9%) |
| CIE-LAB | lab(66.70, -22.03, 60.92) |
| CIE-LCH | lch(66.70, 64.78, 109.88°) |
| OKLab | oklab(70.54% -0.0668 0.1336) |
| OKLCH | oklch(70.54% 0.149 116.6) |
| XYZ | xyz(28.4474, 36.2413, 7.4157) |
| Luminance | 0.3624 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.79
Puke Green
#9AAE07
ΔE00 1.99
Barf Green
#94AC02
ΔE00 2.18
Pea Green
#8EAB12
ΔE00 2.79
Icky Green
#8FAE22
ΔE00 3.13
Sickly Green
#94B21C
ΔE00 3.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAB27 #3727AB
analogous
#AB7927 #9BAB27 #59AB27
triadic
#9BAB27 #279BAB #AB279B
tetradic
#9BAB27 #27AB79 #3727AB #AB2759
square
#9BAB27 #27AB79 #3727AB #AB2759
split-complementary
#9BAB27 #2759AB #7927AB
monochromatic
#414710 #6E791C #9BAB27 #C0D33D #D0DE6E
Accessibility & contrast
On white
2.55
#9BAB27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#9BAB27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAB27
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAB27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAB27 | 1.00 | 2.55 | 8.25 | 8.25 |
| #FFFFFF | 2.55 | 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)
#B7A202
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#A5A192
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9bab27; /* rgb */ color: rgb(155, 171, 39); /* oklch */ color: oklch(70.5% 0.149 116.6);
Tailwind
colors: {
custom: {
50: '#bcc36c',
500: '#9bab27',
950: '#000000',
},
}SCSS
$custom: #9bab27; $custom-light: #bcc36c; $custom-dark: #000000;
JSON
{
"hex": "#9bab27",
"rgb": {
"r": 155,
"g": 171,
"b": 39
},
"hsl": {
"h": 67.273,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.70543,
"c": 0.14939,
"h": 116.6
},
"luminance": 0.36241
}Semantic roles & 50–950 ramp
primary
#9BAB27
secondary
#7469C5
accent
#42E656
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121208
muted
#81817B