#4D8420#4D8420

#4D8420 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.5% C 0.142 H 134.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4D8420
RGBrgb(77, 132, 32)
HSLhsl(93, 61%, 32%)
HSVhsv(93, 76%, 52%)
CMYKcmyk(41.7%, 0%, 75.8%, 48.2%)
CIE-LABlab(49.72, -35.45, 45.38)
CIE-LCHlch(49.72, 57.59, 128.00°)
OKLaboklab(55.47% -0.0993 0.1018)
OKLCHoklch(55.47% 0.142 134.3)
XYZxyz(11.5723, 18.1840, 4.2663)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8420 #572084
analogous
#7F8420 #4D8420 #208425
triadic
#4D8420 #204D84 #84204D
tetradic
#4D8420 #207F84 #572084 #842520
square
#4D8420 #207F84 #572084 #842520
split-complementary
#4D8420 #252084 #84207F
monochromatic
#142108 #305314 #4D8420 #6AB52C #88D34B

Accessibility & contrast

On white

4.53
#4D8420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4D8420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8420
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8420#FFFFFF#000000##000000
##4D84201.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#4C7F71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4d8420;
/* rgb */ color: rgb(77, 132, 32);
/* oklch */ color: oklch(55.5% 0.142 134.3);
Tailwind
colors: {
  custom: {
    50: '#84a863',
    500: '#4d8420',
    950: '#000000',
  },
}
SCSS
$custom: #4d8420;
$custom-light: #84a863;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8420",
  "rgb": {
    "r": 77,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 93,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55466,
    "c": 0.14222,
    "h": 134.3
  },
  "luminance": 0.18185
}

Semantic roles & 50–950 ramp

primary
#4D8420
secondary
#854AB6
accent
#44E49C
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4D8420

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

Preview Lab → · Contrast checker → · Palette generator →

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