#9BA12E#9BA12E
#9BA12E is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.3% C 0.134 H 112.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA12E |
|---|---|
| RGB | rgb(155, 161, 46) |
| HSL | hsl(63, 56%, 41%) |
| HSV | hsv(63, 71%, 63%) |
| CMYK | cmyk(3.7%, 0%, 71.4%, 36.9%) |
| CIE-LAB | lab(63.88, -16.62, 55.82) |
| CIE-LCH | lch(63.88, 58.25, 106.58°) |
| OKLab | oklab(68.29% -0.0512 0.1241) |
| OKLCH | oklch(68.29% 0.134 112.4) |
| XYZ | xyz(26.7564, 32.6562, 7.4780) |
| Luminance | 0.3266 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.93
Pea Soup Green
#94A617
ΔE00 3.25
Pea Soup
#929901
ΔE00 3.47
Baby Poop Green
#8F9805
ΔE00 3.69
Puke
#A5A502
ΔE00 4.05
Baby Shit Green
#889717
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA12E #342EA1
analogous
#A16D2E #9BA12E #62A12E
triadic
#9BA12E #2E9BA1 #A12E9B
tetradic
#9BA12E #2EA16D #342EA1 #A12E62
square
#9BA12E #2EA16D #342EA1 #A12E62
split-complementary
#9BA12E #2E62A1 #6D2EA1
monochromatic
#3F4213 #6D7120 #9BA12E #C2C943 #D2D773
Accessibility & contrast
On white
2.79
#9BA12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#9BA12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA12E
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA12E | 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)
#AD991A
Deuteranopia (green-blind)
#AE9C37
Tritanopia (blue-blind)
#A6978B
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9ba12e; /* rgb */ color: rgb(155, 161, 46); /* oklch */ color: oklch(68.3% 0.134 112.4);
Tailwind
colors: {
custom: {
50: '#bcbc6f',
500: '#9ba12e',
950: '#000000',
},
}SCSS
$custom: #9ba12e; $custom-light: #bcbc6f; $custom-dark: #000000;
JSON
{
"hex": "#9ba12e",
"rgb": {
"r": 155,
"g": 161,
"b": 46
},
"hsl": {
"h": 63.13,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.68292,
"c": 0.13425,
"h": 112.4
},
"luminance": 0.32656
}Semantic roles & 50–950 ramp
primary
#9BA12E
secondary
#716CBE
accent
#49DF51
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B