#4D8A31#4D8A31

#4D8A31 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.2% C 0.138 H 137.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4D8A31
RGBrgb(77, 138, 49)
HSLhsl(101, 48%, 37%)
HSVhsv(101, 64%, 54%)
CMYKcmyk(44.2%, 0%, 64.5%, 45.9%)
CIE-LABlab(51.81, -36.65, 40.42)
CIE-LCHlch(51.81, 54.56, 132.19°)
OKLaboklab(57.22% -0.1013 0.0937)
OKLCHoklch(57.22% 0.138 137.2)
XYZxyz(12.7030, 19.9757, 6.0915)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8A31 #6E318A
analogous
#7A8A31 #4D8A31 #318A42
triadic
#4D8A31 #314D8A #8A314D
tetradic
#4D8A31 #317A8A #6E318A #8A4231
square
#4D8A31 #317A8A #6E318A #8A4231
split-complementary
#4D8A31 #42318A #8A317A
monochromatic
#1B3011 #345D21 #4D8A31 #66B741 #89CA6B

Accessibility & contrast

On white

4.20
#4D8A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4D8A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8A31
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8A31#FFFFFF#000000##000000
##4D8A311.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F26
Deuteranopia (green-blind)
#867A38
Tritanopia (blue-blind)
#4A8577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d8a31;
/* rgb */ color: rgb(77, 138, 49);
/* oklch */ color: oklch(57.2% 0.138 137.2);
Tailwind
colors: {
  custom: {
    50: '#84ac6d',
    500: '#4d8a31',
    950: '#000000',
  },
}
SCSS
$custom: #4d8a31;
$custom-light: #84ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8a31",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 101.124,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57222,
    "c": 0.13796,
    "h": 137.2
  },
  "luminance": 0.19976
}

Semantic roles & 50–950 ramp

primary
#4D8A31
secondary
#9A65B2
accent
#51D7AD
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D8A31

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

Preview Lab → · Contrast checker → · Palette generator →

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