#9BA12C#9BA12C
#9BA12C is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.136 H 112.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA12C |
|---|---|
| RGB | rgb(155, 161, 44) |
| HSL | hsl(63, 57%, 40%) |
| HSV | hsv(63, 73%, 63%) |
| CMYK | cmyk(3.7%, 0%, 72.7%, 36.9%) |
| CIE-LAB | lab(63.87, -16.73, 56.55) |
| CIE-LCH | lch(63.87, 58.97, 106.48°) |
| OKLab | oklab(68.28% -0.0517 0.1253) |
| OKLCH | oklch(68.28% 0.136 112.4) |
| XYZ | xyz(26.7179, 32.6408, 7.2752) |
| Luminance | 0.3264 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.76
Pea Soup Green
#94A617
ΔE00 3.16
Pea Soup
#929901
ΔE00 3.34
Baby Poop Green
#8F9805
ΔE00 3.58
Puke
#A5A502
ΔE00 3.88
Baby Shit Green
#889717
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA12C #322CA1
analogous
#A16C2C #9BA12C #60A12C
triadic
#9BA12C #2C9BA1 #A12C9B
tetradic
#9BA12C #2CA16C #322CA1 #A12C60
square
#9BA12C #2CA16C #322CA1 #A12C60
split-complementary
#9BA12C #2C60A1 #6C2CA1
monochromatic
#3E4112 #6D711F #9BA12C #C4CB40 #D2D870
Accessibility & contrast
On white
2.79
#9BA12C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#9BA12C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA12C
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA12C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA12C | 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)
#AD9916
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#A6978A
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9ba12c; /* rgb */ color: rgb(155, 161, 44); /* oklch */ color: oklch(68.3% 0.136 112.4);
Tailwind
colors: {
custom: {
50: '#bcbc6e',
500: '#9ba12c',
950: '#000000',
},
}SCSS
$custom: #9ba12c; $custom-light: #bcbc6e; $custom-dark: #000000;
JSON
{
"hex": "#9ba12c",
"rgb": {
"r": 155,
"g": 161,
"b": 44
},
"hsl": {
"h": 63.077,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.68278,
"c": 0.13551,
"h": 112.4
},
"luminance": 0.3264
}Semantic roles & 50–950 ramp
primary
#9BA12C
secondary
#6E6ABF
accent
#47E04F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B