#4D8A2F#4D8A2F

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

Color values

HEX#4D8A2F
RGBrgb(77, 138, 47)
HSLhsl(100, 49%, 36%)
HSVhsv(100, 66%, 54%)
CMYKcmyk(44.2%, 0%, 65.9%, 45.9%)
CIE-LABlab(51.79, -36.84, 41.31)
CIE-LCHlch(51.79, 55.35, 131.73°)
OKLaboklab(57.2% -0.1019 0.0954)
OKLCHoklch(57.2% 0.14 136.9)
XYZxyz(12.6618, 19.9592, 5.8741)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8A2F #6C2F8A
analogous
#7B8A2F #4D8A2F #2F8A3F
triadic
#4D8A2F #2F4D8A #8A2F4D
tetradic
#4D8A2F #2F7B8A #6C2F8A #8A3F2F
square
#4D8A2F #2F7B8A #6C2F8A #8A3F2F
split-complementary
#4D8A2F #3F2F8A #8A2F7B
monochromatic
#1A2F10 #345C1F #4D8A2F #66B83F #89CC68

Accessibility & contrast

On white

4.21
#4D8A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4D8A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8A2F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8A2F#FFFFFF#000000##000000
##4D8A2F1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d8a2f;
/* rgb */ color: rgb(77, 138, 47);
/* oklch */ color: oklch(57.2% 0.140 136.9);
Tailwind
colors: {
  custom: {
    50: '#84ac6c',
    500: '#4d8a2f',
    950: '#000000',
  },
}
SCSS
$custom: #4d8a2f;
$custom-light: #84ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8a2f",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 100.22,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57201,
    "c": 0.13958,
    "h": 136.9
  },
  "luminance": 0.1996
}

Semantic roles & 50–950 ramp

primary
#4D8A2F
secondary
#9862B3
accent
#4FD9AB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D8A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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