#9BA322#9BA322
#9BA322 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.7% C 0.143 H 113.3°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA322 |
|---|---|
| RGB | rgb(155, 163, 34) |
| HSL | hsl(64, 65%, 39%) |
| HSV | hsv(64, 79%, 64%) |
| CMYK | cmyk(4.9%, 0%, 79.1%, 36.1%) |
| CIE-LAB | lab(64.39, -18.20, 60.35) |
| CIE-LCH | lch(64.39, 63.04, 106.78°) |
| OKLab | oklab(68.68% -0.0566 0.1315) |
| OKLCH | oklch(68.68% 0.143 113.3) |
| XYZ | xyz(26.9044, 33.2790, 6.5193) |
| Luminance | 0.3328 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.12
Pea Soup Green
#94A617
ΔE00 2.33
Puke
#A5A502
ΔE00 3.21
Pea Soup
#929901
ΔE00 3.31
Baby Poop Green
#8F9805
ΔE00 3.65
Puke Green
#9AAE07
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA322 #2A22A3
analogous
#A36A22 #9BA322 #5AA322
triadic
#9BA322 #229BA3 #A3229B
tetradic
#9BA322 #22A36A #2A22A3 #A3225A
square
#9BA322 #22A36A #2A22A3 #A3225A
split-complementary
#9BA322 #225AA3 #6A22A3
monochromatic
#3B3E0D #6B7017 #9BA322 #C9D42F #D6DE61
Accessibility & contrast
On white
2.74
#9BA322 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#9BA322 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA322
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA322 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA322 | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B09D2E
Tritanopia (blue-blind)
#A6998B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9ba322; /* rgb */ color: rgb(155, 163, 34); /* oklch */ color: oklch(68.7% 0.143 113.3);
Tailwind
colors: {
custom: {
50: '#bcbe69',
500: '#9ba322',
950: '#000000',
},
}SCSS
$custom: #9ba322; $custom-light: #bcbe69; $custom-dark: #000000;
JSON
{
"hex": "#9ba322",
"rgb": {
"r": 155,
"g": 163,
"b": 34
},
"hsl": {
"h": 63.721,
"s": 65.482,
"l": 38.627
},
"oklch": {
"l": 0.68676,
"c": 0.1432,
"h": 113.3
},
"luminance": 0.33278
}Semantic roles & 50–950 ramp
primary
#9BA322
secondary
#645EC3
accent
#3FE84A
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121207
muted
#81817A