#9BA02A#9BA02A
#9BA02A is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.0% C 0.136 H 111.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA02A |
|---|---|
| RGB | rgb(155, 160, 42) |
| HSL | hsl(63, 58%, 40%) |
| HSV | hsv(63, 74%, 63%) |
| CMYK | cmyk(3.1%, 0%, 73.8%, 37.3%) |
| CIE-LAB | lab(63.57, -16.31, 56.98) |
| CIE-LCH | lch(63.57, 59.27, 105.97°) |
| OKLab | oklab(68.04% -0.0507 0.1258) |
| OKLCH | oklch(68.04% 0.136 111.9) |
| XYZ | xyz(26.5072, 32.2780, 7.0240) |
| Luminance | 0.3228 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.65
Pea Soup
#929901
ΔE00 3.06
Baby Poop Green
#8F9805
ΔE00 3.34
Pea Soup Green
#94A617
ΔE00 3.39
Puke
#A5A502
ΔE00 3.75
Baby Shit Green
#889717
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA02A #2F2AA0
analogous
#A06A2A #9BA02A #60A02A
triadic
#9BA02A #2A9BA0 #A02A9B
tetradic
#9BA02A #2AA06A #2F2AA0 #A02A60
square
#9BA02A #2AA06A #2F2AA0 #A02A60
split-complementary
#9BA02A #2A60A0 #6A2AA0
monochromatic
#3D3F11 #6C701D #9BA02A #C6CC3C #D4D86C
Accessibility & contrast
On white
2.82
#9BA02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#9BA02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA02A
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA02A | 1.00 | 2.82 | 7.46 | 7.46 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9812
Deuteranopia (green-blind)
#AD9B33
Tritanopia (blue-blind)
#A69689
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #9ba02a; /* rgb */ color: rgb(155, 160, 42); /* oklch */ color: oklch(68.0% 0.136 111.9);
Tailwind
colors: {
custom: {
50: '#bcbb6d',
500: '#9ba02a',
950: '#000000',
},
}SCSS
$custom: #9ba02a; $custom-light: #bcbb6d; $custom-dark: #000000;
JSON
{
"hex": "#9ba02a",
"rgb": {
"r": 155,
"g": 160,
"b": 42
},
"hsl": {
"h": 62.542,
"s": 58.416,
"l": 39.608
},
"oklch": {
"l": 0.68037,
"c": 0.13566,
"h": 111.9
},
"luminance": 0.32277
}Semantic roles & 50–950 ramp
primary
#9BA02A
secondary
#6A67BF
accent
#46E24D
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A