#9CB126#9CB126
#9CB126 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.0% C 0.156 H 118.3°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9CB126 |
|---|---|
| RGB | rgb(156, 177, 38) |
| HSL | hsl(69, 65%, 42%) |
| HSV | hsv(69, 79%, 69%) |
| CMYK | cmyk(11.9%, 0%, 78.5%, 30.6%) |
| CIE-LAB | lab(68.50, -24.61, 62.89) |
| CIE-LCH | lch(68.50, 67.53, 111.37°) |
| OKLab | oklab(72% -0.0741 0.1376) |
| OKLCH | oklch(72% 0.156 118.3) |
| XYZ | xyz(29.7830, 38.6524, 7.7250) |
| Luminance | 0.3865 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.74
Sickly Green
#94B21C
ΔE00 1.79
Barf Green
#94AC02
ΔE00 2.13
Booger Green
#96B403
ΔE00 2.17
Sick Green
#9DB92C
ΔE00 2.39
Icky Green
#8FAE22
ΔE00 2.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CB126 #3B26B1
analogous
#B18126 #9CB126 #56B126
triadic
#9CB126 #269CB1 #B1269C
tetradic
#9CB126 #26B181 #3B26B1 #B12656
square
#9CB126 #26B181 #3B26B1 #B12656
split-complementary
#9CB126 #2656B1 #8126B1
monochromatic
#434C10 #707F1B #9CB126 #BFD63F #D0E071
Accessibility & contrast
On white
2.41
#9CB126 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#9CB126 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CB126
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CB126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CB126 | 1.00 | 2.41 | 8.73 | 8.73 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#A6A797
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #9cb126; /* rgb */ color: rgb(156, 177, 38); /* oklch */ color: oklch(72.0% 0.156 118.3);
Tailwind
colors: {
custom: {
50: '#bdc86d',
500: '#9cb126',
950: '#000000',
},
}SCSS
$custom: #9cb126; $custom-light: #bdc86d; $custom-dark: #000000;
JSON
{
"hex": "#9cb126",
"rgb": {
"r": 156,
"g": 177,
"b": 38
},
"hsl": {
"h": 69.065,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.72004,
"c": 0.15626,
"h": 118.3
},
"luminance": 0.38652
}Semantic roles & 50–950 ramp
primary
#9CB126
secondary
#796BC7
accent
#40E859
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B