#9BA02E#9BA02E
#9BA02E is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.1% C 0.133 H 111.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA02E |
|---|---|
| RGB | rgb(155, 160, 46) |
| HSL | hsl(63, 55%, 40%) |
| HSV | hsv(63, 71%, 63%) |
| CMYK | cmyk(3.1%, 0%, 71.2%, 37.3%) |
| CIE-LAB | lab(63.60, -16.11, 55.54) |
| CIE-LCH | lch(63.60, 57.83, 106.17°) |
| OKLab | oklab(68.06% -0.0498 0.1235) |
| OKLCH | oklch(68.06% 0.133 111.9) |
| XYZ | xyz(26.5824, 32.3081, 7.4200) |
| Luminance | 0.3231 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.99
Pea Soup
#929901
ΔE00 3.33
Pea Soup Green
#94A617
ΔE00 3.55
Baby Poop Green
#8F9805
ΔE00 3.55
Puke
#A5A502
ΔE00 4.09
Baby Shit Green
#889717
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA02E #332EA0
analogous
#A06C2E #9BA02E #62A02E
triadic
#9BA02E #2E9BA0 #A02E9B
tetradic
#9BA02E #2EA06C #332EA0 #A02E62
square
#9BA02E #2EA06C #332EA0 #A02E62
split-complementary
#9BA02E #2E62A0 #6C2EA0
monochromatic
#3F4113 #6D7020 #9BA02E #C3C942 #D2D672
Accessibility & contrast
On white
2.81
#9BA02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#9BA02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA02E
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA02E | 1.00 | 2.81 | 7.46 | 7.46 |
| #FFFFFF | 2.81 | 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)
#AC991A
Deuteranopia (green-blind)
#AD9B37
Tritanopia (blue-blind)
#A6968A
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #9ba02e; /* rgb */ color: rgb(155, 160, 46); /* oklch */ color: oklch(68.1% 0.133 111.9);
Tailwind
colors: {
custom: {
50: '#bcbb6f',
500: '#9ba02e',
950: '#000000',
},
}SCSS
$custom: #9ba02e; $custom-light: #bcbb6f; $custom-dark: #000000;
JSON
{
"hex": "#9ba02e",
"rgb": {
"r": 155,
"g": 160,
"b": 46
},
"hsl": {
"h": 62.632,
"s": 55.34,
"l": 40.392
},
"oklch": {
"l": 0.68064,
"c": 0.13316,
"h": 111.9
},
"luminance": 0.32307
}Semantic roles & 50–950 ramp
primary
#9BA02E
secondary
#6F6CBE
accent
#49DF50
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B