#4D8820#4D8820

#4D8820 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.5% C 0.147 H 134.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4D8820
RGBrgb(77, 136, 32)
HSLhsl(94, 62%, 33%)
HSVhsv(94, 76%, 53%)
CMYKcmyk(43.4%, 0%, 76.5%, 46.7%)
CIE-LABlab(51.02, -37.20, 46.67)
CIE-LCHlch(51.02, 59.68, 128.56°)
OKLaboklab(56.54% -0.104 0.1045)
OKLCHoklch(56.54% 0.147 134.9)
XYZxyz(12.1252, 19.2897, 4.4506)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8820 #5B2088
analogous
#818820 #4D8820 #208827
triadic
#4D8820 #204D88 #88204D
tetradic
#4D8820 #208188 #5B2088 #882720
square
#4D8820 #208188 #5B2088 #882720
split-complementary
#4D8820 #272088 #882081
monochromatic
#152509 #315614 #4D8820 #69BA2C #88D54D

Accessibility & contrast

On white

4.32
#4D8820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4D8820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8820
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8820#FFFFFF#000000##000000
##4D88201.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0A
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#4C8374
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d8820;
/* rgb */ color: rgb(77, 136, 32);
/* oklch */ color: oklch(56.5% 0.147 134.9);
Tailwind
colors: {
  custom: {
    50: '#84ab63',
    500: '#4d8820',
    950: '#000000',
  },
}
SCSS
$custom: #4d8820;
$custom-light: #84ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8820",
  "rgb": {
    "r": 77,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 94.038,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56536,
    "c": 0.14745,
    "h": 134.9
  },
  "luminance": 0.1929
}

Semantic roles & 50–950 ramp

primary
#4D8820
secondary
#894CB8
accent
#43E59F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8820

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

Preview Lab → · Contrast checker → · Palette generator →

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