#4E8D31#4E8D31

#4E8D31 is a mid, vivid green. Relative luminance 0.209; OKLCH L 58.1% C 0.142 H 137.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4E8D31
RGBrgb(78, 141, 49)
HSLhsl(101, 48%, 37%)
HSVhsv(101, 65%, 55%)
CMYKcmyk(44.7%, 0%, 65.2%, 44.7%)
CIE-LABlab(52.83, -37.61, 41.56)
CIE-LCHlch(52.83, 56.05, 132.15°)
OKLaboklab(58.07% -0.1039 0.0961)
OKLCHoklch(58.07% 0.142 137.2)
XYZxyz(13.2207, 20.8904, 6.2408)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D31 #70318D
analogous
#7C8D31 #4E8D31 #318D42
triadic
#4E8D31 #314E8D #8D314E
tetradic
#4E8D31 #317C8D #70318D #8D4231
square
#4E8D31 #317C8D #70318D #8D4231
split-complementary
#4E8D31 #42318D #8D317C
monochromatic
#1C3211 #356021 #4E8D31 #67BA41 #8BCC6C

Accessibility & contrast

On white

4.06
#4E8D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4E8D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8D31
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8D31#FFFFFF#000000##000000
##4E8D311.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928126
Deuteranopia (green-blind)
#897C39
Tritanopia (blue-blind)
#4B887A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d31;
/* rgb */ color: rgb(78, 141, 49);
/* oklch */ color: oklch(58.1% 0.142 137.2);
Tailwind
colors: {
  custom: {
    50: '#85af6d',
    500: '#4e8d31',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d31;
$custom-light: #85af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d31",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 101.087,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.5807,
    "c": 0.14157,
    "h": 137.2
  },
  "luminance": 0.20891
}

Semantic roles & 50–950 ramp

primary
#4E8D31
secondary
#9B66B4
accent
#50D8AD
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8D31

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

Preview Lab → · Contrast checker → · Palette generator →

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