#9BA422#9BA422
#9BA422 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 68.9% C 0.144 H 113.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA422 |
|---|---|
| RGB | rgb(155, 164, 34) |
| HSL | hsl(64, 66%, 39%) |
| HSV | hsv(64, 79%, 64%) |
| CMYK | cmyk(5.5%, 0%, 79.3%, 35.7%) |
| CIE-LAB | lab(64.67, -18.71, 60.61) |
| CIE-LCH | lch(64.67, 63.43, 107.15°) |
| OKLab | oklab(68.91% -0.058 0.1321) |
| OKLCH | oklch(68.91% 0.144 113.7) |
| XYZ | xyz(27.0826, 33.6355, 6.5787) |
| Luminance | 0.3363 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.06
Vomit
#A2A415
ΔE00 2.23
Puke
#A5A502
ΔE00 3.28
Pea Soup
#929901
ΔE00 3.57
Puke Green
#9AAE07
ΔE00 3.63
Barf Green
#94AC02
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA422 #2B22A4
analogous
#A46C22 #9BA422 #5AA422
triadic
#9BA422 #229BA4 #A4229B
tetradic
#9BA422 #22A46C #2B22A4 #A4225A
square
#9BA422 #22A46C #2B22A4 #A4225A
split-complementary
#9BA422 #225AA4 #6C22A4
monochromatic
#3B3F0D #6B7117 #9BA422 #C9D42F #D6DE62
Accessibility & contrast
On white
2.72
#9BA422 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#9BA422 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA422
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA422 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA422 | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B09E2E
Tritanopia (blue-blind)
#A69A8C
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9ba422; /* rgb */ color: rgb(155, 164, 34); /* oklch */ color: oklch(68.9% 0.144 113.7);
Tailwind
colors: {
custom: {
50: '#bcbe69',
500: '#9ba422',
950: '#000000',
},
}SCSS
$custom: #9ba422; $custom-light: #bcbe69; $custom-dark: #000000;
JSON
{
"hex": "#9ba422",
"rgb": {
"r": 155,
"g": 164,
"b": 34
},
"hsl": {
"h": 64.154,
"s": 65.657,
"l": 38.824
},
"oklch": {
"l": 0.68905,
"c": 0.14426,
"h": 113.7
},
"luminance": 0.33635
}Semantic roles & 50–950 ramp
primary
#9BA422
secondary
#655EC4
accent
#3FE94B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A