#4D8A20#4D8A20

#4D8A20 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.150 H 135.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4D8A20
RGBrgb(77, 138, 32)
HSLhsl(95, 62%, 33%)
HSVhsv(95, 77%, 54%)
CMYKcmyk(44.2%, 0%, 76.8%, 45.9%)
CIE-LABlab(51.68, -38.06, 47.30)
CIE-LCHlch(51.68, 60.71, 128.82°)
OKLaboklab(57.07% -0.1063 0.1058)
OKLCHoklch(57.07% 0.15 135.1)
XYZxyz(12.4095, 19.8583, 4.5454)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8A20 #5D208A
analogous
#828A20 #4D8A20 #208A28
triadic
#4D8A20 #204D8A #8A204D
tetradic
#4D8A20 #20828A #5D208A #8A2820
square
#4D8A20 #20828A #5D208A #8A2820
split-complementary
#4D8A20 #28208A #8A2082
monochromatic
#162709 #315814 #4D8A20 #69BC2C #88D64E

Accessibility & contrast

On white

4.22
#4D8A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4D8A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8A20
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8A20#FFFFFF#000000##000000
##4D8A201.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E09
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#4B8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d8a20;
/* rgb */ color: rgb(77, 138, 32);
/* oklch */ color: oklch(57.1% 0.150 135.1);
Tailwind
colors: {
  custom: {
    50: '#85ac64',
    500: '#4d8a20',
    950: '#000000',
  },
}
SCSS
$custom: #4d8a20;
$custom-light: #85ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8a20",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 94.528,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5707,
    "c": 0.15003,
    "h": 135.1
  },
  "luminance": 0.19859
}

Semantic roles & 50–950 ramp

primary
#4D8A20
secondary
#8B4DB9
accent
#42E5A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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