#4D8920#4D8920

#4D8920 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.8% C 0.149 H 135.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4D8920
RGBrgb(77, 137, 32)
HSLhsl(94, 62%, 33%)
HSVhsv(94, 77%, 54%)
CMYKcmyk(43.8%, 0%, 76.6%, 46.3%)
CIE-LABlab(51.35, -37.63, 46.98)
CIE-LCHlch(51.35, 60.19, 128.69°)
OKLaboklab(56.8% -0.1052 0.1052)
OKLCHoklch(56.8% 0.149 135)
XYZxyz(12.2667, 19.5727, 4.4978)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8920 #5C2089
analogous
#818920 #4D8920 #208928
triadic
#4D8920 #204D89 #89204D
tetradic
#4D8920 #208189 #5C2089 #892820
square
#4D8920 #208189 #5C2089 #892820
split-complementary
#4D8920 #282089 #892081
monochromatic
#152609 #315714 #4D8920 #69BB2C #88D64E

Accessibility & contrast

On white

4.27
#4D8920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4D8920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8920
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8920#FFFFFF#000000##000000
##4D89201.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D09
Deuteranopia (green-blind)
#86792B
Tritanopia (blue-blind)
#4C8475
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d8920;
/* rgb */ color: rgb(77, 137, 32);
/* oklch */ color: oklch(56.8% 0.149 135.0);
Tailwind
colors: {
  custom: {
    50: '#84ac64',
    500: '#4d8920',
    950: '#000000',
  },
}
SCSS
$custom: #4d8920;
$custom-light: #84ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8920",
  "rgb": {
    "r": 77,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 94.286,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56803,
    "c": 0.14874,
    "h": 135
  },
  "luminance": 0.19573
}

Semantic roles & 50–950 ramp

primary
#4D8920
secondary
#8A4CB9
accent
#43E5A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8920

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

Preview Lab → · Contrast checker → · Palette generator →

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