#4D9A20#4D9A20

#4D9A20 is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.3% C 0.170 H 136.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4D9A20
RGBrgb(77, 154, 32)
HSLhsl(98, 66%, 36%)
HSVhsv(98, 79%, 60%)
CMYKcmyk(50%, 0%, 79.2%, 39.6%)
CIE-LABlab(56.87, -44.65, 52.31)
CIE-LCHlch(56.87, 68.77, 130.48°)
OKLaboklab(61.34% -0.1241 0.1163)
OKLCHoklch(61.34% 0.17 136.9)
XYZxyz(14.8764, 24.7922, 5.3677)
Luminance0.2479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9A20 #6D209A
analogous
#8A9A20 #4D9A20 #209A30
triadic
#4D9A20 #204D9A #9A204D
tetradic
#4D9A20 #208A9A #6D209A #9A3020
square
#4D9A20 #208A9A #6D209A #9A3020
split-complementary
#4D9A20 #30209A #9A208A
monochromatic
#1A350B #346715 #4D9A20 #66CD2B #89DC58

Accessibility & contrast

On white

3.52
#4D9A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#4D9A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9A20
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9A20#FFFFFF#000000##000000
##4D9A201.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#95862E
Tritanopia (blue-blind)
#499483
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4d9a20;
/* rgb */ color: rgb(77, 154, 32);
/* oklch */ color: oklch(61.3% 0.170 136.9);
Tailwind
colors: {
  custom: {
    50: '#87b866',
    500: '#4d9a20',
    950: '#000000',
  },
}
SCSS
$custom: #4d9a20;
$custom-light: #87b866;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9a20",
  "rgb": {
    "r": 77,
    "g": 154,
    "b": 32
  },
  "hsl": {
    "h": 97.869,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61338,
    "c": 0.17007,
    "h": 136.9
  },
  "luminance": 0.24793
}

Semantic roles & 50–950 ramp

primary
#4D9A20
secondary
#9956C0
accent
#3FE9AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D9A20

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

Preview Lab → · Contrast checker → · Palette generator →

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