#4C8F20#4C8F20

#4C8F20 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.157 H 136.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4C8F20
RGBrgb(76, 143, 32)
HSLhsl(96, 63%, 34%)
HSVhsv(96, 78%, 56%)
CMYKcmyk(46.9%, 0%, 77.6%, 43.9%)
CIE-LABlab(53.26, -40.50, 48.83)
CIE-LCHlch(53.26, 63.44, 129.67°)
OKLaboklab(58.36% -0.1129 0.109)
OKLCHoklch(58.36% 0.157 136)
XYZxyz(13.0633, 21.2849, 4.7863)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8F20 #63208F
analogous
#848F20 #4C8F20 #208F2B
triadic
#4C8F20 #204C8F #8F204C
tetradic
#4C8F20 #20848F #63208F #8F2B20
square
#4C8F20 #20848F #63208F #8F2B20
split-complementary
#4C8F20 #2B208F #8F2084
monochromatic
#172B0A #315D15 #4C8F20 #67C12B #87D851

Accessibility & contrast

On white

3.99
#4C8F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4C8F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8F20
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8F20#FFFFFF#000000##000000
##4C8F201.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948306
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#49897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8f20;
/* rgb */ color: rgb(76, 143, 32);
/* oklch */ color: oklch(58.4% 0.157 136.0);
Tailwind
colors: {
  custom: {
    50: '#85b064',
    500: '#4c8f20',
    950: '#000000',
  },
}
SCSS
$custom: #4c8f20;
$custom-light: #85b064;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8f20",
  "rgb": {
    "r": 76,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 96.216,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58357,
    "c": 0.15694,
    "h": 136
  },
  "luminance": 0.21286
}

Semantic roles & 50–950 ramp

primary
#4C8F20
secondary
#914FBB
accent
#41E6A5
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4C8F20

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

Preview Lab → · Contrast checker → · Palette generator →

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