#4D9840#4D9840

#4D9840 is a mid, vivid green. Relative luminance 0.244; OKLCH L 61.1% C 0.145 H 140.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4D9840
RGBrgb(77, 152, 64)
HSLhsl(111, 41%, 42%)
HSVhsv(111, 58%, 60%)
CMYKcmyk(49.3%, 0%, 57.9%, 40.4%)
CIE-LABlab(56.49, -40.98, 38.65)
CIE-LCHlch(56.49, 56.33, 136.67°)
OKLaboklab(61.11% -0.1121 0.0914)
OKLCHoklch(61.11% 0.145 140.8)
XYZxyz(15.2136, 24.4033, 8.7581)
Luminance0.2440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9840 #8B4098
analogous
#799840 #4D9840 #40985F
triadic
#4D9840 #404D98 #98404D
tetradic
#4D9840 #407998 #8B4098 #985F40
square
#4D9840 #407998 #8B4098 #985F40
split-complementary
#4D9840 #5F4098 #984079
monochromatic
#21421C #376D2E #4D9840 #69BA5B #91CC86

Accessibility & contrast

On white

3.57
#4D9840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#4D9840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9840
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9840#FFFFFF#000000##000000
##4D98401.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C37
Deuteranopia (green-blind)
#928547
Tritanopia (blue-blind)
#459485
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4d9840;
/* rgb */ color: rgb(77, 152, 64);
/* oklch */ color: oklch(61.1% 0.145 140.8);
Tailwind
colors: {
  custom: {
    50: '#85b778',
    500: '#4d9840',
    950: '#000000',
  },
}
SCSS
$custom: #4d9840;
$custom-light: #85b778;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9840",
  "rgb": {
    "r": 77,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 111.136,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.61108,
    "c": 0.14461,
    "h": 140.8
  },
  "luminance": 0.24404
}

Semantic roles & 50–950 ramp

primary
#4D9840
secondary
#AE7DB7
accent
#57D1BF
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0B1109
muted
#7C807B

Preview Lab

Preview with #4D9840

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

Preview Lab → · Contrast checker → · Palette generator →

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