#4D9D20#4D9D20

#4D9D20 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.1% C 0.174 H 137.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4D9D20
RGBrgb(77, 157, 32)
HSLhsl(98, 66%, 37%)
HSVhsv(98, 80%, 62%)
CMYKcmyk(51%, 0%, 79.6%, 38.4%)
CIE-LABlab(57.84, -45.83, 53.23)
CIE-LCHlch(57.84, 70.24, 130.73°)
OKLaboklab(62.14% -0.1273 0.1182)
OKLCHoklch(62.14% 0.174 137.1)
XYZxyz(15.3778, 25.7949, 5.5348)
Luminance0.2580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9D20 #70209D
analogous
#8C9D20 #4D9D20 #209D31
triadic
#4D9D20 #204D9D #9D204D
tetradic
#4D9D20 #208C9D #70209D #9D3120
square
#4D9D20 #208C9D #70209D #9D3120
split-complementary
#4D9D20 #31209D #9D208C
monochromatic
#1B370B #346A16 #4D9D20 #66D02A #89DD5A

Accessibility & contrast

On white

3.41
#4D9D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#4D9D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9D20
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9D20#FFFFFF#000000##000000
##4D9D201.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#98892E
Tritanopia (blue-blind)
#489786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4d9d20;
/* rgb */ color: rgb(77, 157, 32);
/* oklch */ color: oklch(62.1% 0.174 137.1);
Tailwind
colors: {
  custom: {
    50: '#87bb66',
    500: '#4d9d20',
    950: '#000000',
  },
}
SCSS
$custom: #4d9d20;
$custom-light: #87bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9d20",
  "rgb": {
    "r": 77,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 98.4,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62136,
    "c": 0.17371,
    "h": 137.1
  },
  "luminance": 0.25796
}

Semantic roles & 50–950 ramp

primary
#4D9D20
secondary
#9B57C1
accent
#3FE9AC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4D9D20

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

Preview Lab → · Contrast checker → · Palette generator →

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