#4D8E20#4D8E20

#4D8E20 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.155 H 135.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4D8E20
RGBrgb(77, 142, 32)
HSLhsl(95, 63%, 34%)
HSVhsv(95, 77%, 56%)
CMYKcmyk(45.8%, 0%, 77.5%, 44.3%)
CIE-LABlab(52.98, -39.75, 48.57)
CIE-LCHlch(52.98, 62.76, 129.29°)
OKLaboklab(58.14% -0.1109 0.1085)
OKLCHoklch(58.14% 0.155 135.6)
XYZxyz(12.9940, 21.0273, 4.7402)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8E20 #61208E
analogous
#848E20 #4D8E20 #208E2A
triadic
#4D8E20 #204D8E #8E204D
tetradic
#4D8E20 #20848E #61208E #8E2A20
square
#4D8E20 #20848E #61208E #8E2A20
split-complementary
#4D8E20 #2A208E #8E2084
monochromatic
#172A09 #325C15 #4D8E20 #68C02B #88D851

Accessibility & contrast

On white

4.03
#4D8E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4D8E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8E20
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8E20#FFFFFF#000000##000000
##4D8E201.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938206
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#4B8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8e20;
/* rgb */ color: rgb(77, 142, 32);
/* oklch */ color: oklch(58.1% 0.155 135.6);
Tailwind
colors: {
  custom: {
    50: '#85af64',
    500: '#4d8e20',
    950: '#000000',
  },
}
SCSS
$custom: #4d8e20;
$custom-light: #85af64;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8e20",
  "rgb": {
    "r": 77,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 95.455,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58139,
    "c": 0.15515,
    "h": 135.6
  },
  "luminance": 0.21028
}

Semantic roles & 50–950 ramp

primary
#4D8E20
secondary
#8F4FBB
accent
#42E6A3
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4D8E20

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

Preview Lab → · Contrast checker → · Palette generator →

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