#4EA42B#4EA42B

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

Color values

HEX#4EA42B
RGBrgb(78, 164, 43)
HSLhsl(103, 58%, 41%)
HSVhsv(103, 74%, 64%)
CMYKcmyk(52.4%, 0%, 73.8%, 35.7%)
CIE-LABlab(60.20, -47.54, 51.76)
CIE-LCHlch(60.20, 70.28, 132.57°)
OKLaboklab(64.11% -0.1313 0.1168)
OKLCHoklch(64.11% 0.176 138.3)
XYZxyz(16.8528, 28.3438, 6.8679)
Luminance0.2834 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EA42B #812BA4
analogous
#8AA42B #4EA42B #2BA445
triadic
#4EA42B #2B4EA4 #A42B4E
tetradic
#4EA42B #2B8AA4 #812BA4 #A4452B
square
#4EA42B #2B8AA4 #812BA4 #A4452B
split-complementary
#4EA42B #452BA4 #A42B8A
monochromatic
#204312 #37741E #4EA42B #68CD3F #8ED970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4EA42B#FFFFFF#000000##000000
##4EA42B1.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)
#A99615
Deuteranopia (green-blind)
#9E8E37
Tritanopia (blue-blind)
#479E8D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #4ea42b;
/* rgb */ color: rgb(78, 164, 43);
/* oklch */ color: oklch(64.1% 0.176 138.3);
Tailwind
colors: {
  custom: {
    50: '#88c06c',
    500: '#4ea42b',
    950: '#000000',
  },
}
SCSS
$custom: #4ea42b;
$custom-light: #88c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#4ea42b",
  "rgb": {
    "r": 78,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 102.645,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64108,
    "c": 0.17568,
    "h": 138.3
  },
  "luminance": 0.28345
}

Semantic roles & 50–950 ramp

primary
#4EA42B
secondary
#A86AC1
accent
#46E2B5
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4EA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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