#4E7840#4E7840

#4E7840 is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.7% C 0.096 H 138.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4E7840
RGBrgb(78, 120, 64)
HSLhsl(105, 30%, 36%)
HSVhsv(105, 47%, 47%)
CMYKcmyk(35%, 0%, 46.7%, 52.9%)
CIE-LABlab(46.21, -26.08, 26.16)
CIE-LCHlch(46.21, 36.94, 134.91°)
OKLaboklab(52.73% -0.0714 0.0637)
OKLCHoklch(52.73% 0.096 138.3)
XYZxyz(10.7834, 15.4223, 7.2581)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7840 #6A4078
analogous
#6A7840 #4E7840 #40784E
triadic
#4E7840 #404E78 #78404E
tetradic
#4E7840 #406A78 #6A4078 #784E40
square
#4E7840 #406A78 #6A4078 #784E40
split-complementary
#4E7840 #4E4078 #78406A
monochromatic
#1A2815 #34502B #4E7840 #68A055 #8AB87A

Accessibility & contrast

On white

5.14
#4E7840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4E7840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7840
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7840#FFFFFF#000000##FFFFFF
##4E78401.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703C
Deuteranopia (green-blind)
#756C43
Tritanopia (blue-blind)
#4C756B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e7840;
/* rgb */ color: rgb(78, 120, 64);
/* oklch */ color: oklch(52.7% 0.096 138.3);
Tailwind
colors: {
  custom: {
    50: '#829f76',
    500: '#4e7840',
    950: '#000000',
  },
}
SCSS
$custom: #4e7840;
$custom-light: #829f76;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7840",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 64
  },
  "hsl": {
    "h": 105,
    "s": 30.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.52727,
    "c": 0.09574,
    "h": 138.3
  },
  "luminance": 0.15423
}

Semantic roles & 50–950 ramp

primary
#4E7840
secondary
#9671A3
accent
#61C7AD
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0A0E08
muted
#7C7E7B

Preview Lab

Preview with #4E7840

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

Preview Lab → · Contrast checker → · Palette generator →

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