#9BB126#9BB126
#9BB126 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 71.9% C 0.157 H 118.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9BB126 |
|---|---|
| RGB | rgb(155, 177, 38) |
| HSL | hsl(69, 65%, 42%) |
| HSV | hsv(69, 79%, 69%) |
| CMYK | cmyk(12.4%, 0%, 78.5%, 30.6%) |
| CIE-LAB | lab(68.43, -25.03, 62.80) |
| CIE-LCH | lch(68.43, 67.60, 111.73°) |
| OKLab | oklab(71.93% -0.0752 0.1374) |
| OKLCH | oklch(71.93% 0.157 118.7) |
| XYZ | xyz(29.5902, 38.5530, 7.7160) |
| Luminance | 0.3855 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Green
#94B21C
ΔE00 1.58
Puke Green
#9AAE07
ΔE00 1.82
Booger Green
#96B403
ΔE00 2.07
Barf Green
#94AC02
ΔE00 2.09
Sick Green
#9DB92C
ΔE00 2.30
Icky Green
#8FAE22
ΔE00 2.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BB126 #3C26B1
analogous
#B18126 #9BB126 #56B126
triadic
#9BB126 #269BB1 #B1269B
tetradic
#9BB126 #26B181 #3C26B1 #B12656
square
#9BB126 #26B181 #3C26B1 #B12656
split-complementary
#9BB126 #2656B1 #8126B1
monochromatic
#434C10 #6F7F1B #9BB126 #BED63F #CFE071
Accessibility & contrast
On white
2.41
#9BB126 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#9BB126 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BB126
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BB126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BB126 | 1.00 | 2.41 | 8.71 | 8.71 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BBA734
Tritanopia (blue-blind)
#A5A797
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #9bb126; /* rgb */ color: rgb(155, 177, 38); /* oklch */ color: oklch(71.9% 0.157 118.7);
Tailwind
colors: {
custom: {
50: '#bcc86d',
500: '#9bb126',
950: '#000000',
},
}SCSS
$custom: #9bb126; $custom-light: #bcc86d; $custom-dark: #000000;
JSON
{
"hex": "#9bb126",
"rgb": {
"r": 155,
"g": 177,
"b": 38
},
"hsl": {
"h": 69.496,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.71927,
"c": 0.15665,
"h": 118.7
},
"luminance": 0.38553
}Semantic roles & 50–950 ramp
primary
#9BB126
secondary
#7A6BC7
accent
#40E85B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B