#9CB127#9CB127
#9CB127 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 | #9CB127 |
|---|---|
| RGB | rgb(156, 177, 39) |
| HSL | hsl(69, 64%, 42%) |
| HSV | hsv(69, 78%, 69%) |
| CMYK | cmyk(11.9%, 0%, 78%, 30.6%) |
| CIE-LAB | lab(68.50, -24.57, 62.59) |
| CIE-LCH | lch(68.50, 67.24, 111.43°) |
| OKLab | oklab(72.01% -0.0739 0.1371) |
| OKLCH | oklch(72.01% 0.156 118.3) |
| XYZ | xyz(29.7993, 38.6590, 7.8112) |
| Luminance | 0.3866 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Green
#94B21C
ΔE00 1.79
Puke Green
#9AAE07
ΔE00 1.81
Barf Green
#94AC02
ΔE00 2.17
Booger Green
#96B403
ΔE00 2.21
Sick Green
#9DB92C
ΔE00 2.37
Booger
#9BB53C
ΔE00 2.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CB127 #3C27B1
analogous
#B18127 #9CB127 #57B127
triadic
#9CB127 #279CB1 #B1279C
tetradic
#9CB127 #27B181 #3C27B1 #B12757
square
#9CB127 #27B181 #3C27B1 #B12757
split-complementary
#9CB127 #2757B1 #8127B1
monochromatic
#444D11 #707F1C #9CB127 #BED540 #CFE072
Accessibility & contrast
On white
2.41
#9CB127 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#9CB127 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CB127
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CB127 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CB127 | 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: #9cb127; /* rgb */ color: rgb(156, 177, 39); /* oklch */ color: oklch(72.0% 0.156 118.3);
Tailwind
colors: {
custom: {
50: '#bdc86d',
500: '#9cb127',
950: '#000000',
},
}SCSS
$custom: #9cb127; $custom-light: #bdc86d; $custom-dark: #000000;
JSON
{
"hex": "#9cb127",
"rgb": {
"r": 156,
"g": 177,
"b": 39
},
"hsl": {
"h": 69.13,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.72009,
"c": 0.15577,
"h": 118.3
},
"luminance": 0.38659
}Semantic roles & 50–950 ramp
primary
#9CB127
secondary
#7A6DC7
accent
#41E75A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B