#4E9540#4E9540

#4E9540 is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.4% C 0.140 H 140.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4E9540
RGBrgb(78, 149, 64)
HSLhsl(110, 40%, 42%)
HSVhsv(110, 57%, 58%)
CMYKcmyk(47.7%, 0%, 57%, 41.6%)
CIE-LABlab(55.57, -39.40, 37.58)
CIE-LCHlch(55.57, 54.44, 136.36°)
OKLaboklab(60.36% -0.1078 0.0891)
OKLCHoklch(60.36% 0.14 140.4)
XYZxyz(14.8141, 23.4837, 8.6017)
Luminance0.2349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9540 #874095
analogous
#799540 #4E9540 #40955D
triadic
#4E9540 #404E95 #95404E
tetradic
#4E9540 #407995 #874095 #955D40
square
#4E9540 #407995 #874095 #955D40
split-complementary
#4E9540 #5D4095 #954079
monochromatic
#213F1B #386A2E #4E9540 #6AB85A #90CB85

Accessibility & contrast

On white

3.69
#4E9540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#4E9540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9540
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9540#FFFFFF#000000##000000
##4E95401.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998938
Deuteranopia (green-blind)
#8F8346
Tritanopia (blue-blind)
#479182
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4e9540;
/* rgb */ color: rgb(78, 149, 64);
/* oklch */ color: oklch(60.4% 0.140 140.4);
Tailwind
colors: {
  custom: {
    50: '#85b577',
    500: '#4e9540',
    950: '#000000',
  },
}
SCSS
$custom: #4e9540;
$custom-light: #85b577;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9540",
  "rgb": {
    "r": 78,
    "g": 149,
    "b": 64
  },
  "hsl": {
    "h": 110.118,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.60363,
    "c": 0.13985,
    "h": 140.4
  },
  "luminance": 0.23485
}

Semantic roles & 50–950 ramp

primary
#4E9540
secondary
#AC7CB5
accent
#58D0BC
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0B1109
muted
#7C807B

Preview Lab

Preview with #4E9540

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

Preview Lab → · Contrast checker → · Palette generator →

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