#4E9842#4E9842

#4E9842 is a mid, vivid green. Relative luminance 0.245; OKLCH L 61.2% C 0.142 H 141.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4E9842
RGBrgb(78, 152, 66)
HSLhsl(112, 39%, 43%)
HSVhsv(112, 57%, 60%)
CMYKcmyk(48.7%, 0%, 56.6%, 40.4%)
CIE-LABlab(56.55, -40.43, 37.76)
CIE-LCHlch(56.55, 55.32, 136.96°)
OKLaboklab(61.18% -0.1105 0.0896)
OKLCHoklch(61.18% 0.142 141)
XYZxyz(15.3528, 24.4684, 9.0671)
Luminance0.2447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9842 #8C4298
analogous
#799842 #4E9842 #429861
triadic
#4E9842 #424E98 #98424E
tetradic
#4E9842 #427998 #8C4298 #986142
square
#4E9842 #427998 #8C4298 #986142
split-complementary
#4E9842 #614298 #984279
monochromatic
#22431D #386D2F #4E9842 #6BB95E #92CC89

Accessibility & contrast

On white

3.56
#4E9842 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#4E9842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9842
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9842#FFFFFF#000000##000000
##4E98421.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C3A
Deuteranopia (green-blind)
#928548
Tritanopia (blue-blind)
#469485
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4e9842;
/* rgb */ color: rgb(78, 152, 66);
/* oklch */ color: oklch(61.2% 0.142 141.0);
Tailwind
colors: {
  custom: {
    50: '#85b779',
    500: '#4e9842',
    950: '#000000',
  },
}
SCSS
$custom: #4e9842;
$custom-light: #85b779;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9842",
  "rgb": {
    "r": 78,
    "g": 152,
    "b": 66
  },
  "hsl": {
    "h": 111.628,
    "s": 39.45,
    "l": 42.745
  },
  "oklch": {
    "l": 0.61179,
    "c": 0.14228,
    "h": 141
  },
  "luminance": 0.2447
}

Semantic roles & 50–950 ramp

primary
#4E9842
secondary
#AF7FB7
accent
#58CFBF
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0B1109
muted
#7C807B

Preview Lab

Preview with #4E9842

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

Preview Lab → · Contrast checker → · Palette generator →

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