#9BAA28#9BAA28
#9BAA28 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.3% C 0.148 H 116.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAA28 |
|---|---|
| RGB | rgb(155, 170, 40) |
| HSL | hsl(67, 62%, 41%) |
| HSV | hsv(67, 76%, 67%) |
| CMYK | cmyk(8.8%, 0%, 76.5%, 33.3%) |
| CIE-LAB | lab(66.42, -21.48, 60.34) |
| CIE-LCH | lch(66.42, 64.05, 109.60°) |
| OKLab | oklab(70.32% -0.0652 0.1326) |
| OKLCH | oklch(70.32% 0.148 116.2) |
| XYZ | xyz(28.2761, 35.8716, 7.4414) |
| Luminance | 0.3587 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.68
Puke Green
#9AAE07
ΔE00 2.25
Barf Green
#94AC02
ΔE00 2.40
Pea Green
#8EAB12
ΔE00 2.97
Icky Green
#8FAE22
ΔE00 3.35
Sickly Green
#94B21C
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAA28 #3728AA
analogous
#AA7828 #9BAA28 #5AAA28
triadic
#9BAA28 #289BAA #AA289B
tetradic
#9BAA28 #28AA78 #3728AA #AA285A
square
#9BAA28 #28AA78 #3728AA #AA285A
split-complementary
#9BAA28 #285AAA #7828AA
monochromatic
#414711 #6E781C #9BAA28 #C0D23E #D0DD6F
Accessibility & contrast
On white
2.57
#9BAA28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#9BAA28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAA28
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAA28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAA28 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A106
Deuteranopia (green-blind)
#B5A234
Tritanopia (blue-blind)
#A5A092
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9baa28; /* rgb */ color: rgb(155, 170, 40); /* oklch */ color: oklch(70.3% 0.148 116.2);
Tailwind
colors: {
custom: {
50: '#bcc36d',
500: '#9baa28',
950: '#000000',
},
}SCSS
$custom: #9baa28; $custom-light: #bcc36d; $custom-dark: #000000;
JSON
{
"hex": "#9baa28",
"rgb": {
"r": 155,
"g": 170,
"b": 40
},
"hsl": {
"h": 66.923,
"s": 61.905,
"l": 41.176
},
"oklch": {
"l": 0.70318,
"c": 0.14775,
"h": 116.2
},
"luminance": 0.35871
}Semantic roles & 50–950 ramp
primary
#9BAA28
secondary
#746AC4
accent
#43E556
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121208
muted
#81817B