#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
RGBrgb(76, 178, 39)
HSLhsl(104, 64%, 43%)
HSVhsv(104, 78%, 70%)
CMYKcmyk(57.3%, 0%, 78.1%, 30.2%)
CIE-LABlab(64.58, -53.62, 57.41)
CIE-LCHlch(64.58, 78.56, 133.05°)
OKLaboklab(67.7% -0.1477 0.128)
OKLCHoklch(67.7% 0.195 139.1)
XYZxyz(19.2663, 33.5221, 7.3742)
Luminance0.3352 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

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
##4CB2271.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.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

Preview Lab

Preview with #4CB227

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4CB227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva