#4E8C31#4E8C31

#4E8C31 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.8% C 0.140 H 137.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4E8C31
RGBrgb(78, 140, 49)
HSLhsl(101, 48%, 37%)
HSVhsv(101, 65%, 55%)
CMYKcmyk(44.3%, 0%, 65%, 45.1%)
CIE-LABlab(52.51, -37.18, 41.20)
CIE-LCHlch(52.51, 55.50, 132.06°)
OKLaboklab(57.8% -0.1028 0.0954)
OKLCHoklch(57.8% 0.14 137.1)
XYZxyz(13.0740, 20.5968, 6.1918)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C31 #6F318C
analogous
#7C8C31 #4E8C31 #318C42
triadic
#4E8C31 #314E8C #8C314E
tetradic
#4E8C31 #317C8C #6F318C #8C4231
square
#4E8C31 #317C8C #6F318C #8C4231
split-complementary
#4E8C31 #42318C #8C317C
monochromatic
#1B3111 #355F21 #4E8C31 #67B941 #8ACC6C

Accessibility & contrast

On white

4.10
#4E8C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4E8C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8C31
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8C31#FFFFFF#000000##000000
##4E8C311.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#887B38
Tritanopia (blue-blind)
#4B8779
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e8c31;
/* rgb */ color: rgb(78, 140, 49);
/* oklch */ color: oklch(57.8% 0.140 137.1);
Tailwind
colors: {
  custom: {
    50: '#85ae6d',
    500: '#4e8c31',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c31;
$custom-light: #85ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c31",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 100.879,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57804,
    "c": 0.14019,
    "h": 137.1
  },
  "luminance": 0.20598
}

Semantic roles & 50–950 ramp

primary
#4E8C31
secondary
#9A66B3
accent
#50D8AC
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E8C31

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

Preview Lab → · Contrast checker → · Palette generator →

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