#4EB42F#4EB42F

#4EB42F is a light, vivid green. Relative luminance 0.345; OKLCH L 68.3% C 0.193 H 139.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#4EB42F
RGBrgb(78, 180, 47)
HSLhsl(106, 59%, 45%)
HSVhsv(106, 74%, 71%)
CMYKcmyk(56.7%, 0%, 73.9%, 29.4%)
CIE-LABlab(65.33, -53.29, 55.46)
CIE-LCHlch(65.33, 76.91, 133.86°)
OKLaboklab(68.35% -0.1465 0.125)
OKLCHoklch(68.35% 0.193 139.5)
XYZxyz(19.9754, 34.4658, 8.2887)
Luminance0.3447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EB42F #952FB4
analogous
#91B42F #4EB42F #2FB453
triadic
#4EB42F #2F4EB4 #B42F4E
tetradic
#4EB42F #2F91B4 #952FB4 #B4532F
square
#4EB42F #2F91B4 #952FB4 #B4532F
split-complementary
#4EB42F #532FB4 #B42F91
monochromatic
#245316 #398322 #4EB42F #6DD14F #96DE80

Accessibility & contrast

On white

2.66
#4EB42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#4EB42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4EB42F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EB42F#FFFFFF#000000##000000
##4EB42F1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A415
Deuteranopia (green-blind)
#AC9B3D
Tritanopia (blue-blind)
#43AE9A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #4eb42f;
/* rgb */ color: rgb(78, 180, 47);
/* oklch */ color: oklch(68.3% 0.193 139.5);
Tailwind
colors: {
  custom: {
    50: '#8acb70',
    500: '#4eb42f',
    950: '#000000',
  },
}
SCSS
$custom: #4eb42f;
$custom-light: #8acb70;
$custom-dark: #000000;
JSON
{
  "hex": "#4eb42f",
  "rgb": {
    "r": 78,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 106.015,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68347,
    "c": 0.19263,
    "h": 139.5
  },
  "luminance": 0.34467
}

Semantic roles & 50–950 ramp

primary
#4EB42F
secondary
#B478C7
accent
#46E2BD
background
#F9FCF7
surface
#F1F9ED
border
#CBD2C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #4EB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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