#4E7240#4E7240

#4E7240 is a mid, moderate green. Relative luminance 0.140; OKLCH L 51.2% C 0.086 H 137.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4E7240
RGBrgb(78, 114, 64)
HSLhsl(103, 28%, 35%)
HSVhsv(103, 44%, 45%)
CMYKcmyk(31.6%, 0%, 43.9%, 55.3%)
CIE-LABlab(44.27, -23.07, 23.69)
CIE-LCHlch(44.27, 33.07, 134.24°)
OKLaboklab(51.15% -0.0631 0.0581)
OKLCHoklch(51.15% 0.086 137.4)
XYZxyz(10.0843, 14.0241, 7.0251)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7240 #644072
analogous
#677240 #4E7240 #40724B
triadic
#4E7240 #404E72 #72404E
tetradic
#4E7240 #406772 #644072 #724B40
square
#4E7240 #406772 #644072 #724B40
split-complementary
#4E7240 #4B4072 #724067
monochromatic
#182414 #334B2A #4E7240 #699956 #89B479

Accessibility & contrast

On white

5.52
#4E7240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4E7240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7240
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7240#FFFFFF#000000##FFFFFF
##4E72401.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B3C
Deuteranopia (green-blind)
#706743
Tritanopia (blue-blind)
#4D6F66
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e7240;
/* rgb */ color: rgb(78, 114, 64);
/* oklch */ color: oklch(51.2% 0.086 137.4);
Tailwind
colors: {
  custom: {
    50: '#819a75',
    500: '#4e7240',
    950: '#000000',
  },
}
SCSS
$custom: #4e7240;
$custom-light: #819a75;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7240",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 103.2,
    "s": 28.09,
    "l": 34.902
  },
  "oklch": {
    "l": 0.51154,
    "c": 0.08582,
    "h": 137.4
  },
  "luminance": 0.14024
}

Semantic roles & 50–950 ramp

primary
#4E7240
secondary
#916F9F
accent
#63C4A9
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0A0E08
muted
#7C7E7B

Preview Lab

Preview with #4E7240

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

Preview Lab → · Contrast checker → · Palette generator →

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