#9BA11B#9BA11B
#9BA11B is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.2% C 0.144 H 112.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA11B |
|---|---|
| RGB | rgb(155, 161, 27) |
| HSL | hsl(63, 71%, 37%) |
| HSV | hsv(63, 83%, 63%) |
| CMYK | cmyk(3.7%, 0%, 83.2%, 36.9%) |
| CIE-LAB | lab(63.79, -17.42, 61.78) |
| CIE-LCH | lch(63.79, 64.19, 105.75°) |
| OKLab | oklab(68.19% -0.055 0.1333) |
| OKLCH | oklch(68.19% 0.144 112.4) |
| XYZ | xyz(26.4612, 32.5381, 5.9233) |
| Luminance | 0.3254 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.74
Pea Soup
#929901
ΔE00 2.69
Puke
#A5A502
ΔE00 2.80
Pea Soup Green
#94A617
ΔE00 2.91
Baby Poop Green
#8F9805
ΔE00 3.15
Vomit Green
#89A203
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA11B #211BA1
analogous
#A1641B #9BA11B #58A11B
triadic
#9BA11B #1B9BA1 #A11B9B
tetradic
#9BA11B #1BA164 #211BA1 #A11B58
square
#9BA11B #1BA164 #211BA1 #A11B58
split-complementary
#9BA11B #1B58A1 #641BA1
monochromatic
#363809 #696D12 #9BA11B #CDD524 #DCE254
Accessibility & contrast
On white
2.80
#9BA11B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.51
#9BA11B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA11B
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA11B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA11B | 1.00 | 2.80 | 7.51 | 7.51 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AE9C29
Tritanopia (blue-blind)
#A69789
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #9ba11b; /* rgb */ color: rgb(155, 161, 27); /* oklch */ color: oklch(68.2% 0.144 112.4);
Tailwind
colors: {
custom: {
50: '#bcbc66',
500: '#9ba11b',
950: '#000000',
},
}SCSS
$custom: #9ba11b; $custom-light: #bcbc66; $custom-dark: #000000;
JSON
{
"hex": "#9ba11b",
"rgb": {
"r": 155,
"g": 161,
"b": 27
},
"hsl": {
"h": 62.687,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.68185,
"c": 0.14422,
"h": 112.4
},
"luminance": 0.32537
}Semantic roles & 50–950 ramp
primary
#9BA11B
secondary
#5852C5
accent
#3AEE42
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121207
muted
#81817A