#9BA12A#9BA12A
#9BA12A is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.137 H 112.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA12A |
|---|---|
| RGB | rgb(155, 161, 42) |
| HSL | hsl(63, 59%, 40%) |
| HSV | hsv(63, 74%, 63%) |
| CMYK | cmyk(3.7%, 0%, 73.9%, 36.9%) |
| CIE-LAB | lab(63.86, -16.83, 57.25) |
| CIE-LCH | lch(63.86, 59.67, 106.38°) |
| OKLab | oklab(68.27% -0.0521 0.1264) |
| OKLCH | oklch(68.27% 0.137 112.4) |
| XYZ | xyz(26.6812, 32.6261, 7.0820) |
| Luminance | 0.3262 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.59
Pea Soup Green
#94A617
ΔE00 3.08
Pea Soup
#929901
ΔE00 3.22
Baby Poop Green
#8F9805
ΔE00 3.49
Puke
#A5A502
ΔE00 3.72
Baby Shit Green
#889717
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA12A #302AA1
analogous
#A16B2A #9BA12A #60A12A
triadic
#9BA12A #2A9BA1 #A12A9B
tetradic
#9BA12A #2AA16B #302AA1 #A12A60
square
#9BA12A #2AA16B #302AA1 #A12A60
split-complementary
#9BA12A #2A60A1 #6B2AA1
monochromatic
#3E4011 #6C701D #9BA12A #C5CC3C #D3D96D
Accessibility & contrast
On white
2.79
#9BA12A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#9BA12A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA12A
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA12A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA12A | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9912
Deuteranopia (green-blind)
#AE9C34
Tritanopia (blue-blind)
#A6978A
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9ba12a; /* rgb */ color: rgb(155, 161, 42); /* oklch */ color: oklch(68.3% 0.137 112.4);
Tailwind
colors: {
custom: {
50: '#bcbc6d',
500: '#9ba12a',
950: '#000000',
},
}SCSS
$custom: #9ba12a; $custom-light: #bcbc6d; $custom-dark: #000000;
JSON
{
"hex": "#9ba12a",
"rgb": {
"r": 155,
"g": 161,
"b": 42
},
"hsl": {
"h": 63.025,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.68265,
"c": 0.13673,
"h": 112.4
},
"luminance": 0.32625
}Semantic roles & 50–950 ramp
primary
#9BA12A
secondary
#6C67C0
accent
#46E24E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A