#4E7A38#4E7A38

#4E7A38 is a mid, moderate green. Relative luminance 0.158; OKLCH L 53.1% C 0.107 H 136.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E7A38
RGBrgb(78, 122, 56)
HSLhsl(100, 37%, 35%)
HSVhsv(100, 54%, 48%)
CMYKcmyk(36.1%, 0%, 54.1%, 52.2%)
CIE-LABlab(46.74, -28.15, 31.13)
CIE-LCHlch(46.74, 41.97, 132.13°)
OKLaboklab(53.13% -0.0776 0.0743)
OKLCHoklch(53.13% 0.107 136.2)
XYZxyz(10.8149, 15.8238, 6.2251)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A38 #64387A
analogous
#6F7A38 #4E7A38 #387A43
triadic
#4E7A38 #384E7A #7A384E
tetradic
#4E7A38 #386F7A #64387A #7A4338
square
#4E7A38 #386F7A #64387A #7A4338
split-complementary
#4E7A38 #43387A #7A386F
monochromatic
#182611 #335025 #4E7A38 #69A44B #89BD6F

Accessibility & contrast

On white

5.04
#4E7A38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4E7A38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A38
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A38#FFFFFF#000000##FFFFFF
##4E7A381.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7132
Deuteranopia (green-blind)
#786D3C
Tritanopia (blue-blind)
#4D766B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7a38;
/* rgb */ color: rgb(78, 122, 56);
/* oklch */ color: oklch(53.1% 0.107 136.2);
Tailwind
colors: {
  custom: {
    50: '#82a170',
    500: '#4e7a38',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a38;
$custom-light: #82a170;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a38",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 56
  },
  "hsl": {
    "h": 100,
    "s": 37.079,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53125,
    "c": 0.10745,
    "h": 136.2
  },
  "luminance": 0.15824
}

Semantic roles & 50–950 ramp

primary
#4E7A38
secondary
#9168A6
accent
#5BCDA7
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #4E7A38

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

Preview Lab → · Contrast checker → · Palette generator →

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