#4E8B31#4E8B31

#4E8B31 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.5% C 0.139 H 137.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4E8B31
RGBrgb(78, 139, 49)
HSLhsl(101, 48%, 37%)
HSVhsv(101, 65%, 55%)
CMYKcmyk(43.9%, 0%, 64.7%, 45.5%)
CIE-LABlab(52.18, -36.74, 40.85)
CIE-LCHlch(52.18, 54.94, 131.97°)
OKLaboklab(57.54% -0.1016 0.0946)
OKLCHoklch(57.54% 0.139 137)
XYZxyz(12.9285, 20.3059, 6.1433)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B31 #6E318B
analogous
#7B8B31 #4E8B31 #318B41
triadic
#4E8B31 #314E8B #8B314E
tetradic
#4E8B31 #317B8B #6E318B #8B4131
square
#4E8B31 #317B8B #6E318B #8B4131
split-complementary
#4E8B31 #41318B #8B317B
monochromatic
#1B3111 #355E21 #4E8B31 #67B841 #8ACB6B

Accessibility & contrast

On white

4.15
#4E8B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4E8B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8B31
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8B31#FFFFFF#000000##000000
##4E8B311.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#877B38
Tritanopia (blue-blind)
#4B8678
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8b31;
/* rgb */ color: rgb(78, 139, 49);
/* oklch */ color: oklch(57.5% 0.139 137.0);
Tailwind
colors: {
  custom: {
    50: '#84ad6d',
    500: '#4e8b31',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b31;
$custom-light: #84ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b31",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 100.667,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57539,
    "c": 0.13881,
    "h": 137
  },
  "luminance": 0.20307
}

Semantic roles & 50–950 ramp

primary
#4E8B31
secondary
#9A65B2
accent
#50D7AC
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8B31

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

Preview Lab → · Contrast checker → · Palette generator →

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