#9BAB28#9BAB28
#9BAB28 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.5% C 0.149 H 116.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAB28 |
|---|---|
| RGB | rgb(155, 171, 40) |
| HSL | hsl(67, 62%, 41%) |
| HSV | hsv(67, 77%, 67%) |
| CMYK | cmyk(9.4%, 0%, 76.6%, 32.9%) |
| CIE-LAB | lab(66.71, -21.98, 60.60) |
| CIE-LCH | lch(66.71, 64.47, 109.94°) |
| OKLab | oklab(70.55% -0.0666 0.1331) |
| OKLCH | oklch(70.55% 0.149 116.6) |
| XYZ | xyz(28.4642, 36.2480, 7.5042) |
| Luminance | 0.3625 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.82
Puke Green
#9AAE07
ΔE00 2.06
Barf Green
#94AC02
ΔE00 2.23
Pea Green
#8EAB12
ΔE00 2.81
Icky Green
#8FAE22
ΔE00 3.11
Sickly Green
#94B21C
ΔE00 3.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAB28 #3828AB
analogous
#AB7A28 #9BAB28 #5AAB28
triadic
#9BAB28 #289BAB #AB289B
tetradic
#9BAB28 #28AB7A #3828AB #AB285A
square
#9BAB28 #28AB7A #3828AB #AB285A
split-complementary
#9BAB28 #285AAB #7A28AB
monochromatic
#414811 #6E791C #9BAB28 #C0D23E #D0DE70
Accessibility & contrast
On white
2.55
#9BAB28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#9BAB28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAB28
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAB28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAB28 | 1.00 | 2.55 | 8.25 | 8.25 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A205
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#A5A192
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9bab28; /* rgb */ color: rgb(155, 171, 40); /* oklch */ color: oklch(70.5% 0.149 116.6);
Tailwind
colors: {
custom: {
50: '#bcc36d',
500: '#9bab28',
950: '#000000',
},
}SCSS
$custom: #9bab28; $custom-light: #bcc36d; $custom-dark: #000000;
JSON
{
"hex": "#9bab28",
"rgb": {
"r": 155,
"g": 171,
"b": 40
},
"hsl": {
"h": 67.328,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.70549,
"c": 0.14886,
"h": 116.6
},
"luminance": 0.36248
}Semantic roles & 50–950 ramp
primary
#9BAB28
secondary
#756AC4
accent
#43E556
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121208
muted
#81817B