#4CA228#4CA228

#4CA228 is a light, vivid green. Relative luminance 0.275; OKLCH L 63.5% C 0.176 H 138.3°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4CA228
RGBrgb(76, 162, 40)
HSLhsl(102, 60%, 40%)
HSVhsv(102, 75%, 64%)
CMYKcmyk(53.1%, 0%, 75.3%, 36.5%)
CIE-LABlab(59.46, -47.57, 52.09)
CIE-LCHlch(59.46, 70.54, 132.40°)
OKLaboklab(63.47% -0.1314 0.117)
OKLCHoklch(63.47% 0.176 138.3)
XYZxyz(16.2832, 27.5291, 6.4627)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4CA228 #7E28A2
analogous
#89A228 #4CA228 #28A241
triadic
#4CA228 #284CA2 #A2284C
tetradic
#4CA228 #2889A2 #7E28A2 #A24128
square
#4CA228 #2889A2 #7E28A2 #A24128
split-complementary
#4CA228 #4128A2 #A22889
monochromatic
#1E4010 #35711C #4CA228 #65CE39 #8BDA6A

Accessibility & contrast

On white

3.23
#4CA228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#4CA228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4CA228
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4CA228#FFFFFF#000000##000000
##4CA2281.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7940F
Deuteranopia (green-blind)
#9C8C35
Tritanopia (blue-blind)
#459C8B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #4ca228;
/* rgb */ color: rgb(76, 162, 40);
/* oklch */ color: oklch(63.5% 0.176 138.3);
Tailwind
colors: {
  custom: {
    50: '#87be6b',
    500: '#4ca228',
    950: '#000000',
  },
}
SCSS
$custom: #4ca228;
$custom-light: #87be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4ca228",
  "rgb": {
    "r": 76,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 102.295,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63473,
    "c": 0.17596,
    "h": 138.3
  },
  "luminance": 0.2753
}

Semantic roles & 50–950 ramp

primary
#4CA228
secondary
#A665C1
accent
#44E4B5
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4CA228

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

Preview Lab → · Contrast checker → · Palette generator →

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