#9BA421#9BA421
#9BA421 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 68.9% C 0.145 H 113.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA421 |
|---|---|
| RGB | rgb(155, 164, 33) |
| HSL | hsl(64, 66%, 39%) |
| HSV | hsv(64, 80%, 64%) |
| CMYK | cmyk(5.5%, 0%, 79.9%, 35.7%) |
| CIE-LAB | lab(64.67, -18.74, 60.90) |
| CIE-LCH | lch(64.67, 63.72, 107.11°) |
| OKLab | oklab(68.9% -0.0582 0.1325) |
| OKLCH | oklch(68.9% 0.145 113.7) |
| XYZ | xyz(27.0684, 33.6299, 6.5039) |
| Luminance | 0.3363 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.05
Vomit
#A2A415
ΔE00 2.18
Puke
#A5A502
ΔE00 3.23
Pea Soup
#929901
ΔE00 3.55
Puke Green
#9AAE07
ΔE00 3.60
Barf Green
#94AC02
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA421 #2A21A4
analogous
#A46B21 #9BA421 #59A421
triadic
#9BA421 #219BA4 #A4219B
tetradic
#9BA421 #21A46B #2A21A4 #A42159
square
#9BA421 #21A46B #2A21A4 #A42159
split-complementary
#9BA421 #2159A4 #6B21A4
monochromatic
#3B3E0C #6B7117 #9BA421 #C9D52D #D6DF60
Accessibility & contrast
On white
2.72
#9BA421 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#9BA421 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA421
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA421 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA421 | 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: #9ba421; /* rgb */ color: rgb(155, 164, 33); /* oklch */ color: oklch(68.9% 0.145 113.7);
Tailwind
colors: {
custom: {
50: '#bcbe69',
500: '#9ba421',
950: '#000000',
},
}SCSS
$custom: #9ba421; $custom-light: #bcbe69; $custom-dark: #000000;
JSON
{
"hex": "#9ba421",
"rgb": {
"r": 155,
"g": 164,
"b": 33
},
"hsl": {
"h": 64.122,
"s": 66.497,
"l": 38.627
},
"oklch": {
"l": 0.689,
"c": 0.14475,
"h": 113.7
},
"luminance": 0.33629
}Semantic roles & 50–950 ramp
primary
#9BA421
secondary
#645DC4
accent
#3EE94A
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121207
muted
#81817A