#4D8720#4D8720

#4D8720 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.3% C 0.146 H 134.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4D8720
RGBrgb(77, 135, 32)
HSLhsl(94, 62%, 33%)
HSVhsv(94, 76%, 53%)
CMYKcmyk(43%, 0%, 76.3%, 47.1%)
CIE-LABlab(50.70, -36.76, 46.34)
CIE-LCHlch(50.70, 59.16, 128.42°)
OKLaboklab(56.27% -0.1028 0.1038)
OKLCHoklch(56.27% 0.146 134.7)
XYZxyz(11.9850, 19.0094, 4.4039)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8720 #5A2087
analogous
#818720 #4D8720 #208726
triadic
#4D8720 #204D87 #87204D
tetradic
#4D8720 #208187 #5A2087 #872620
square
#4D8720 #208187 #5A2087 #872620
split-complementary
#4D8720 #262087 #872081
monochromatic
#152409 #315614 #4D8720 #69B82C #88D54D

Accessibility & contrast

On white

4.37
#4D8720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4D8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8720
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8720#FFFFFF#000000##000000
##4D87201.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0B
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#4C8273
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d8720;
/* rgb */ color: rgb(77, 135, 32);
/* oklch */ color: oklch(56.3% 0.146 134.7);
Tailwind
colors: {
  custom: {
    50: '#84aa63',
    500: '#4d8720',
    950: '#000000',
  },
}
SCSS
$custom: #4d8720;
$custom-light: #84aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8720",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 93.786,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56268,
    "c": 0.14615,
    "h": 134.7
  },
  "luminance": 0.1901
}

Semantic roles & 50–950 ramp

primary
#4D8720
secondary
#884BB8
accent
#43E59E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8720

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

Preview Lab → · Contrast checker → · Palette generator →

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