#9CB12E#9CB12E
#9CB12E is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.1% C 0.152 H 118.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9CB12E |
|---|---|
| RGB | rgb(156, 177, 46) |
| HSL | hsl(70, 59%, 44%) |
| HSV | hsv(70, 74%, 69%) |
| CMYK | cmyk(11.9%, 0%, 74%, 30.6%) |
| CIE-LAB | lab(68.54, -24.25, 60.35) |
| CIE-LCH | lch(68.54, 65.04, 111.89°) |
| OKLab | oklab(72.05% -0.0724 0.1336) |
| OKLCH | oklch(72.05% 0.152 118.5) |
| XYZ | xyz(29.9262, 38.7097, 8.4794) |
| Luminance | 0.3871 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Green
#94B21C
ΔE00 1.95
Booger
#9BB53C
ΔE00 2.02
Sick Green
#9DB92C
ΔE00 2.37
Puke Green
#9AAE07
ΔE00 2.37
Icky Green
#8FAE22
ΔE00 2.45
Barf Green
#94AC02
ΔE00 2.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CB12E #432EB1
analogous
#B1842E #9CB12E #5AB12E
triadic
#9CB12E #2E9CB1 #B12E9C
tetradic
#9CB12E #2EB184 #432EB1 #B12E5A
square
#9CB12E #2EB184 #432EB1 #B12E5A
split-complementary
#9CB12E #2E5AB1 #842EB1
monochromatic
#465015 #718021 #9CB12E #BBD04C #CEDD7C
Accessibility & contrast
On white
2.40
#9CB12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.74
#9CB12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CB12E
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CB12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CB12E | 1.00 | 2.40 | 8.74 | 8.74 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA713
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#A5A798
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #9cb12e; /* rgb */ color: rgb(156, 177, 46); /* oklch */ color: oklch(72.1% 0.152 118.5);
Tailwind
colors: {
custom: {
50: '#bdc870',
500: '#9cb12e',
950: '#000000',
},
}SCSS
$custom: #9cb12e; $custom-light: #bdc870; $custom-dark: #000000;
JSON
{
"hex": "#9cb12e",
"rgb": {
"r": 156,
"g": 177,
"b": 46
},
"hsl": {
"h": 69.618,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.72051,
"c": 0.15197,
"h": 118.5
},
"luminance": 0.38709
}Semantic roles & 50–950 ramp
primary
#9CB12E
secondary
#8275C6
accent
#46E25F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B