#4EA42F#4EA42F

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

Color values

HEX#4EA42F
RGBrgb(78, 164, 47)
HSLhsl(104, 55%, 41%)
HSVhsv(104, 71%, 64%)
CMYKcmyk(52.4%, 0%, 71.3%, 35.7%)
CIE-LABlab(60.23, -47.23, 50.27)
CIE-LCHlch(60.23, 68.98, 133.21°)
OKLaboklab(64.14% -0.1302 0.1142)
OKLCHoklch(64.14% 0.173 138.7)
XYZxyz(16.9298, 28.3746, 7.2735)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EA42F #852FA4
analogous
#89A42F #4EA42F #2FA44B
triadic
#4EA42F #2F4EA4 #A42F4E
tetradic
#4EA42F #2F89A4 #852FA4 #A44B2F
square
#4EA42F #2F89A4 #852FA4 #A44B2F
split-complementary
#4EA42F #4B2FA4 #A42F89
monochromatic
#214514 #377421 #4EA42F #69CA46 #90D876

Accessibility & contrast

On white

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

On black

6.68
#4EA42F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4EA42F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EA42F#FFFFFF#000000##000000
##4EA42F1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961C
Deuteranopia (green-blind)
#9E8E3A
Tritanopia (blue-blind)
#469E8D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #4ea42f;
/* rgb */ color: rgb(78, 164, 47);
/* oklch */ color: oklch(64.1% 0.173 138.7);
Tailwind
colors: {
  custom: {
    50: '#88c06e',
    500: '#4ea42f',
    950: '#000000',
  },
}
SCSS
$custom: #4ea42f;
$custom-light: #88c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#4ea42f",
  "rgb": {
    "r": 78,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 104.103,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64139,
    "c": 0.17317,
    "h": 138.7
  },
  "luminance": 0.28376
}

Semantic roles & 50–950 ramp

primary
#4EA42F
secondary
#AA6FC0
accent
#49DFB7
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1208
muted
#7D817B

Preview Lab

Preview with #4EA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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