#9CB227#9CB227
#9CB227 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.2% C 0.157 H 118.6°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9CB227 |
|---|---|
| RGB | rgb(156, 178, 39) |
| HSL | hsl(69, 64%, 43%) |
| HSV | hsv(69, 78%, 70%) |
| CMYK | cmyk(12.4%, 0%, 78.1%, 30.2%) |
| CIE-LAB | lab(68.79, -25.06, 62.86) |
| CIE-LCH | lch(68.79, 67.67, 111.73°) |
| OKLab | oklab(72.24% -0.0752 0.1377) |
| OKLCH | oklch(72.24% 0.157 118.6) |
| XYZ | xyz(29.9976, 39.0554, 7.8772) |
| Luminance | 0.3906 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Green
#94B21C
ΔE00 1.63
Puke Green
#9AAE07
ΔE00 1.96
Booger Green
#96B403
ΔE00 2.03
Sick Green
#9DB92C
ΔE00 2.07
Barf Green
#94AC02
ΔE00 2.31
Booger
#9BB53C
ΔE00 2.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CB227 #3D27B2
analogous
#B28227 #9CB227 #57B227
triadic
#9CB227 #279CB2 #B2279C
tetradic
#9CB227 #27B282 #3D27B2 #B22757
square
#9CB227 #27B282 #3D27B2 #B22757
split-complementary
#9CB227 #2757B2 #8227B2
monochromatic
#444E11 #70801C #9CB227 #BED541 #CFE073
Accessibility & contrast
On white
2.38
#9CB227 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.81
#9CB227 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CB227
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CB227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CB227 | 1.00 | 2.38 | 8.81 | 8.81 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BCA834
Tritanopia (blue-blind)
#A6A898
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #9cb227; /* rgb */ color: rgb(156, 178, 39); /* oklch */ color: oklch(72.2% 0.157 118.6);
Tailwind
colors: {
custom: {
50: '#bdc96d',
500: '#9cb227',
950: '#000000',
},
}SCSS
$custom: #9cb227; $custom-light: #bdc96d; $custom-dark: #000000;
JSON
{
"hex": "#9cb227",
"rgb": {
"r": 156,
"g": 178,
"b": 39
},
"hsl": {
"h": 69.496,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.72241,
"c": 0.1569,
"h": 118.6
},
"luminance": 0.39055
}Semantic roles & 50–950 ramp
primary
#9CB227
secondary
#7C6DC8
accent
#41E75B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B