#4E9840#4E9840

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

Color values

HEX#4E9840
RGBrgb(78, 152, 64)
HSLhsl(110, 41%, 42%)
HSVhsv(110, 58%, 60%)
CMYKcmyk(48.7%, 0%, 57.9%, 40.4%)
CIE-LABlab(56.53, -40.67, 38.71)
CIE-LCHlch(56.53, 56.15, 136.42°)
OKLaboklab(61.15% -0.1113 0.0915)
OKLCHoklch(61.15% 0.144 140.6)
XYZxyz(15.2949, 24.4453, 8.7619)
Luminance0.2445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9840 #8A4098
analogous
#7A9840 #4E9840 #40985E
triadic
#4E9840 #404E98 #98404E
tetradic
#4E9840 #407A98 #8A4098 #985E40
square
#4E9840 #407A98 #8A4098 #985E40
split-complementary
#4E9840 #5E4098 #98407A
monochromatic
#22421C #386D2E #4E9840 #6ABA5B #91CC86

Accessibility & contrast

On white

3.57
#4E9840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E9840#FFFFFF#000000##000000
##4E98401.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C37
Deuteranopia (green-blind)
#928547
Tritanopia (blue-blind)
#479385
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4e9840;
/* rgb */ color: rgb(78, 152, 64);
/* oklch */ color: oklch(61.2% 0.144 140.6);
Tailwind
colors: {
  custom: {
    50: '#85b778',
    500: '#4e9840',
    950: '#000000',
  },
}
SCSS
$custom: #4e9840;
$custom-light: #85b778;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9840",
  "rgb": {
    "r": 78,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 110.455,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.61153,
    "c": 0.14408,
    "h": 140.6
  },
  "luminance": 0.24446
}

Semantic roles & 50–950 ramp

primary
#4E9840
secondary
#AE7DB7
accent
#57D1BD
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0C1109
muted
#7D807B

Preview Lab

Preview with #4E9840

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

Preview Lab → · Contrast checker → · Palette generator →

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