#9BA01A#9BA01A
#9BA01A is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.0% C 0.144 H 112.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA01A |
|---|---|
| RGB | rgb(155, 160, 26) |
| HSL | hsl(62, 72%, 36%) |
| HSV | hsv(62, 84%, 63%) |
| CMYK | cmyk(3.1%, 0%, 83.8%, 37.3%) |
| CIE-LAB | lab(63.50, -16.94, 61.79) |
| CIE-LCH | lch(63.50, 64.07, 105.33°) |
| OKLab | oklab(67.95% -0.0537 0.1332) |
| OKLCH | oklch(67.95% 0.144 112) |
| XYZ | xyz(26.2758, 32.1854, 5.8054) |
| Luminance | 0.3219 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.78
Pea Soup
#929901
ΔE00 2.46
Puke
#A5A502
ΔE00 2.79
Baby Poop Green
#8F9805
ΔE00 2.98
Pea Soup Green
#94A617
ΔE00 3.23
Baby Shit Green
#889717
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA01A #1F1AA0
analogous
#A0621A #9BA01A #58A01A
triadic
#9BA01A #1A9BA0 #A01A9B
tetradic
#9BA01A #1AA062 #1F1AA0 #A01A58
square
#9BA01A #1AA062 #1F1AA0 #A01A58
split-complementary
#9BA01A #1A58A0 #621AA0
monochromatic
#353709 #686B11 #9BA01A #CED523 #DDE352
Accessibility & contrast
On white
2.82
#9BA01A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.44
#9BA01A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA01A
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA01A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA01A | 1.00 | 2.82 | 7.44 | 7.44 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AE9B28
Tritanopia (blue-blind)
#A69688
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #9ba01a; /* rgb */ color: rgb(155, 160, 26); /* oklch */ color: oklch(68.0% 0.144 112.0);
Tailwind
colors: {
custom: {
50: '#bcbb66',
500: '#9ba01a',
950: '#000000',
},
}SCSS
$custom: #9ba01a; $custom-light: #bcbb66; $custom-dark: #000000;
JSON
{
"hex": "#9ba01a",
"rgb": {
"r": 155,
"g": 160,
"b": 26
},
"hsl": {
"h": 62.239,
"s": 72.043,
"l": 36.471
},
"oklch": {
"l": 0.67952,
"c": 0.1436,
"h": 112
},
"luminance": 0.32185
}Semantic roles & 50–950 ramp
primary
#9BA01A
secondary
#5550C5
accent
#39EF40
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A