#4CB227#4CB227
#4CB227 is a light, vivid green. Relative luminance 0.335; OKLCH L 67.7% C 0.195 H 139.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #4CB227 |
|---|---|
| RGB | rgb(76, 178, 39) |
| HSL | hsl(104, 64%, 43%) |
| HSV | hsv(104, 78%, 70%) |
| CMYK | cmyk(57.3%, 0%, 78.1%, 30.2%) |
| CIE-LAB | lab(64.58, -53.62, 57.41) |
| CIE-LCH | lch(64.58, 78.56, 133.05°) |
| OKLab | oklab(67.7% -0.1477 0.128) |
| OKLCH | oklch(67.7% 0.195 139.1) |
| XYZ | xyz(19.2663, 33.5221, 7.3742) |
| Luminance | 0.3352 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Leafy Green
#51B73B
ΔE00 2.20
Grass
#5CAC2D
ΔE00 2.40
Kelly Green
#4CBB17
ΔE00 2.86
Green (survey)
#15B01A
ΔE00 3.13
Kermit Green
#5CB200
ΔE00 3.26
Frog Green
#58BC08
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4CB227 #8D27B2
analogous
#91B227 #4CB227 #27B248
triadic
#4CB227 #274CB2 #B2274C
tetradic
#4CB227 #2791B2 #8D27B2 #B24827
square
#4CB227 #2791B2 #8D27B2 #B24827
split-complementary
#4CB227 #4827B2 #B22791
monochromatic
#214E11 #37801C #4CB227 #68D541 #90E073
Accessibility & contrast
On white
2.73
#4CB227 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#4CB227 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #4CB227
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4CB227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4CB227 | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#AB9937
Tritanopia (blue-blind)
#41AC98
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #4cb227; /* rgb */ color: rgb(76, 178, 39); /* oklch */ color: oklch(67.7% 0.195 139.1);
Tailwind
colors: {
custom: {
50: '#89ca6c',
500: '#4cb227',
950: '#000000',
},
}SCSS
$custom: #4cb227; $custom-light: #89ca6c; $custom-dark: #000000;
JSON
{
"hex": "#4cb227",
"rgb": {
"r": 76,
"g": 178,
"b": 39
},
"hsl": {
"h": 104.029,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.67695,
"c": 0.19549,
"h": 139.1
},
"luminance": 0.33524
}Semantic roles & 50–950 ramp
primary
#4CB227
secondary
#AF6DC8
accent
#41E7BB
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A