#4C9C20#4C9C20

#4C9C20 is a mid, vivid yellow-green. Relative luminance 0.254; OKLCH L 61.8% C 0.173 H 137.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4C9C20
RGBrgb(76, 156, 32)
HSLhsl(99, 66%, 37%)
HSVhsv(99, 79%, 61%)
CMYKcmyk(51.3%, 0%, 79.5%, 38.8%)
CIE-LABlab(57.48, -45.75, 52.87)
CIE-LCHlch(57.48, 69.91, 130.87°)
OKLaboklab(61.83% -0.127 0.1175)
OKLCHoklch(61.83% 0.173 137.2)
XYZxyz(15.1292, 25.4166, 5.4749)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9C20 #70209C
analogous
#8A9C20 #4C9C20 #209C32
triadic
#4C9C20 #204C9C #9C204C
tetradic
#4C9C20 #208A9C #70209C #9C3220
square
#4C9C20 #208A9C #70209C #9C3220
split-complementary
#4C9C20 #32209C #9C208A
monochromatic
#1B360B #336916 #4C9C20 #65CF2A #88DD59

Accessibility & contrast

On white

3.45
#4C9C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#4C9C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C9C20
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C9C20#FFFFFF#000000##000000
##4C9C201.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#97882E
Tritanopia (blue-blind)
#479685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4c9c20;
/* rgb */ color: rgb(76, 156, 32);
/* oklch */ color: oklch(61.8% 0.173 137.2);
Tailwind
colors: {
  custom: {
    50: '#86ba66',
    500: '#4c9c20',
    950: '#000000',
  },
}
SCSS
$custom: #4c9c20;
$custom-light: #86ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9c20",
  "rgb": {
    "r": 76,
    "g": 156,
    "b": 32
  },
  "hsl": {
    "h": 98.71,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61827,
    "c": 0.173,
    "h": 137.2
  },
  "luminance": 0.25418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C9C20

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

Preview Lab → · Contrast checker → · Palette generator →

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