#4D9F20#4D9F20

#4D9F20 is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 62.7% C 0.176 H 137.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4D9F20
RGBrgb(77, 159, 32)
HSLhsl(99, 66%, 37%)
HSVhsv(99, 80%, 62%)
CMYKcmyk(51.6%, 0%, 79.9%, 37.6%)
CIE-LABlab(58.49, -46.61, 53.84)
CIE-LCHlch(58.49, 71.21, 130.89°)
OKLaboklab(62.67% -0.1294 0.1195)
OKLCHoklch(62.67% 0.176 137.3)
XYZxyz(15.7189, 26.4772, 5.6485)
Luminance0.2648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9F20 #72209F
analogous
#8D9F20 #4D9F20 #209F32
triadic
#4D9F20 #204D9F #9F204D
tetradic
#4D9F20 #208D9F #72209F #9F3220
square
#4D9F20 #208D9F #72209F #9F3220
split-complementary
#4D9F20 #32209F #9F208D
monochromatic
#1C390B #346C16 #4D9F20 #66D22A #8ADE5B

Accessibility & contrast

On white

3.34
#4D9F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#4D9F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9F20
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9F20#FFFFFF#000000##000000
##4D9F201.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9A8A2F
Tritanopia (blue-blind)
#489988
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4d9f20;
/* rgb */ color: rgb(77, 159, 32);
/* oklch */ color: oklch(62.7% 0.176 137.3);
Tailwind
colors: {
  custom: {
    50: '#87bc67',
    500: '#4d9f20',
    950: '#000000',
  },
}
SCSS
$custom: #4d9f20;
$custom-light: #87bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9f20",
  "rgb": {
    "r": 77,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 98.74,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62668,
    "c": 0.17612,
    "h": 137.3
  },
  "luminance": 0.26478
}

Semantic roles & 50–950 ramp

primary
#4D9F20
secondary
#9D59C2
accent
#3EE9AD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4D9F20

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

Preview Lab → · Contrast checker → · Palette generator →

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