#4EA42C#4EA42C

#4EA42C is a light, vivid green. Relative luminance 0.284; OKLCH L 64.1% C 0.175 H 138.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4EA42C
RGBrgb(78, 164, 44)
HSLhsl(103, 58%, 41%)
HSVhsv(103, 73%, 64%)
CMYKcmyk(52.4%, 0%, 73.2%, 35.7%)
CIE-LABlab(60.20, -47.47, 51.40)
CIE-LCHlch(60.20, 69.96, 132.72°)
OKLaboklab(64.11% -0.131 0.1161)
OKLCHoklch(64.11% 0.175 138.4)
XYZxyz(16.8714, 28.3512, 6.9657)
Luminance0.2835 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EA42C #822CA4
analogous
#8AA42C #4EA42C #2CA446
triadic
#4EA42C #2C4EA4 #A42C4E
tetradic
#4EA42C #2C8AA4 #822CA4 #A4462C
square
#4EA42C #2C8AA4 #822CA4 #A4462C
split-complementary
#4EA42C #462CA4 #A42C8A
monochromatic
#204312 #37741F #4EA42C #68CC41 #8FD971

Accessibility & contrast

On white

3.15
#4EA42C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#4EA42C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4EA42C
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EA42C#FFFFFF#000000##000000
##4EA42C1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99617
Deuteranopia (green-blind)
#9E8E38
Tritanopia (blue-blind)
#479E8D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #4ea42c;
/* rgb */ color: rgb(78, 164, 44);
/* oklch */ color: oklch(64.1% 0.175 138.4);
Tailwind
colors: {
  custom: {
    50: '#88c06d',
    500: '#4ea42c',
    950: '#000000',
  },
}
SCSS
$custom: #4ea42c;
$custom-light: #88c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#4ea42c",
  "rgb": {
    "r": 78,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 103,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64115,
    "c": 0.17506,
    "h": 138.4
  },
  "luminance": 0.28352
}

Semantic roles & 50–950 ramp

primary
#4EA42C
secondary
#A86BC0
accent
#47E1B5
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4EA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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