#9BA31A#9BA31A
#9BA31A is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.6% C 0.147 H 113.3°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA31A |
|---|---|
| RGB | rgb(155, 163, 26) |
| HSL | hsl(64, 72%, 37%) |
| HSV | hsv(64, 84%, 64%) |
| CMYK | cmyk(4.9%, 0%, 84%, 36.1%) |
| CIE-LAB | lab(64.35, -18.47, 62.51) |
| CIE-LCH | lch(64.35, 65.19, 106.46°) |
| OKLab | oklab(68.64% -0.058 0.1348) |
| OKLCH | oklch(68.64% 0.147 113.3) |
| XYZ | xyz(26.8021, 33.2381, 5.9808) |
| Luminance | 0.3324 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.79
Pea Soup Green
#94A617
ΔE00 2.34
Puke
#A5A502
ΔE00 2.82
Pea Soup
#929901
ΔE00 3.16
Baby Poop Green
#8F9805
ΔE00 3.57
Puke Green
#9AAE07
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA31A #221AA3
analogous
#A3671A #9BA31A #56A31A
triadic
#9BA31A #1A9BA3 #A31A9B
tetradic
#9BA31A #1AA367 #221AA3 #A31A56
square
#9BA31A #1AA367 #221AA3 #A31A56
split-complementary
#9BA31A #1A56A3 #671AA3
monochromatic
#373909 #696E12 #9BA31A #CDD822 #DBE454
Accessibility & contrast
On white
2.75
#9BA31A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#9BA31A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA31A
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA31A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA31A | 1.00 | 2.75 | 7.65 | 7.65 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B09D29
Tritanopia (blue-blind)
#A6998B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9ba31a; /* rgb */ color: rgb(155, 163, 26); /* oklch */ color: oklch(68.6% 0.147 113.3);
Tailwind
colors: {
custom: {
50: '#bcbe66',
500: '#9ba31a',
950: '#000000',
},
}SCSS
$custom: #9ba31a; $custom-light: #bcbe66; $custom-dark: #000000;
JSON
{
"hex": "#9ba31a",
"rgb": {
"r": 155,
"g": 163,
"b": 26
},
"hsl": {
"h": 63.504,
"s": 72.487,
"l": 37.059
},
"oklch": {
"l": 0.68639,
"c": 0.14669,
"h": 113.3
},
"luminance": 0.33238
}Semantic roles & 50–950 ramp
primary
#9BA31A
secondary
#5952C7
accent
#39EF43
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121207
muted
#81817A