#4E7040#4E7040

#4E7040 is a mid, moderate green. Relative luminance 0.136; OKLCH L 50.6% C 0.082 H 137.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4E7040
RGBrgb(78, 112, 64)
HSLhsl(103, 27%, 35%)
HSVhsv(103, 43%, 44%)
CMYKcmyk(30.4%, 0%, 42.9%, 56.1%)
CIE-LABlab(43.62, -22.04, 22.86)
CIE-LCHlch(43.62, 31.76, 133.95°)
OKLaboklab(50.63% -0.0603 0.0562)
OKLCHoklch(50.63% 0.082 137)
XYZxyz(9.8612, 13.5779, 6.9507)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7040 #624070
analogous
#667040 #4E7040 #40704A
triadic
#4E7040 #404E70 #70404E
tetradic
#4E7040 #406670 #624070 #704A40
square
#4E7040 #406670 #624070 #704A40
split-complementary
#4E7040 #4A4070 #704066
monochromatic
#182213 #33492A #4E7040 #699756 #89B278

Accessibility & contrast

On white

5.65
#4E7040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4E7040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7040
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7040#FFFFFF#000000##FFFFFF
##4E70401.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693C
Deuteranopia (green-blind)
#6E6643
Tritanopia (blue-blind)
#4D6D64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e7040;
/* rgb */ color: rgb(78, 112, 64);
/* oklch */ color: oklch(50.6% 0.082 137.0);
Tailwind
colors: {
  custom: {
    50: '#819975',
    500: '#4e7040',
    950: '#000000',
  },
}
SCSS
$custom: #4e7040;
$custom-light: #819975;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7040",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 64
  },
  "hsl": {
    "h": 102.5,
    "s": 27.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.50631,
    "c": 0.08246,
    "h": 137
  },
  "luminance": 0.13578
}

Semantic roles & 50–950 ramp

primary
#4E7040
secondary
#906F9D
accent
#64C4A8
background
#F7F9F7
surface
#EEF2ED
border
#C9CCC8
text
#0A0E08
muted
#7C7E7B

Preview Lab

Preview with #4E7040

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

Preview Lab → · Contrast checker → · Palette generator →

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