#4D8A42#4D8A42

#4D8A42 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.4% C 0.122 H 140.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4D8A42
RGBrgb(77, 138, 66)
HSLhsl(111, 35%, 40%)
HSVhsv(111, 52%, 54%)
CMYKcmyk(44.2%, 0%, 52.2%, 45.9%)
CIE-LABlab(52.00, -34.63, 32.28)
CIE-LCHlch(52.00, 47.34, 137.02°)
OKLaboklab(57.44% -0.0947 0.0776)
OKLCHoklch(57.44% 0.122 140.7)
XYZxyz(13.1319, 20.1473, 8.3501)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8A42 #7F428A
analogous
#718A42 #4D8A42 #428A5B
triadic
#4D8A42 #424D8A #8A424D
tetradic
#4D8A42 #42718A #7F428A #8A5B42
square
#4D8A42 #42718A #7F428A #8A5B42
split-complementary
#4D8A42 #5B428A #8A4271
monochromatic
#1F371A #36612E #4D8A42 #67B059 #8DC483

Accessibility & contrast

On white

4.18
#4D8A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4D8A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8A42
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8A42#FFFFFF#000000##000000
##4D8A421.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F3C
Deuteranopia (green-blind)
#857A47
Tritanopia (blue-blind)
#488679
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d8a42;
/* rgb */ color: rgb(77, 138, 66);
/* oklch */ color: oklch(57.4% 0.122 140.7);
Tailwind
colors: {
  custom: {
    50: '#83ac78',
    500: '#4d8a42',
    950: '#000000',
  },
}
SCSS
$custom: #4d8a42;
$custom-light: #83ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8a42",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 110.833,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.57443,
    "c": 0.1224,
    "h": 140.7
  },
  "luminance": 0.20148
}

Semantic roles & 50–950 ramp

primary
#4D8A42
secondary
#A679AE
accent
#5CCBBA
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #4D8A42

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

Preview Lab → · Contrast checker → · Palette generator →

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