#4C9020#4C9020

#4C9020 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.6% C 0.158 H 136.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4C9020
RGBrgb(76, 144, 32)
HSLhsl(96, 64%, 35%)
HSVhsv(96, 78%, 56%)
CMYKcmyk(47.2%, 0%, 77.8%, 43.5%)
CIE-LABlab(53.59, -40.92, 49.14)
CIE-LCHlch(53.59, 63.95, 129.78°)
OKLaboklab(58.62% -0.114 0.1097)
OKLCHoklch(58.62% 0.158 136.1)
XYZxyz(13.2141, 21.5865, 4.8365)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9020 #642090
analogous
#849020 #4C9020 #20902C
triadic
#4C9020 #204C90 #90204C
tetradic
#4C9020 #208490 #642090 #902C20
square
#4C9020 #208490 #642090 #902C20
split-complementary
#4C9020 #2C2090 #902084
monochromatic
#172C0A #325E15 #4C9020 #66C22B #87D952

Accessibility & contrast

On white

3.95
#4C9020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#4C9020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C9020
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C9020#FFFFFF#000000##000000
##4C90201.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958405
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#498A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c9020;
/* rgb */ color: rgb(76, 144, 32);
/* oklch */ color: oklch(58.6% 0.158 136.1);
Tailwind
colors: {
  custom: {
    50: '#85b164',
    500: '#4c9020',
    950: '#000000',
  },
}
SCSS
$custom: #4c9020;
$custom-light: #85b164;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9020",
  "rgb": {
    "r": 76,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 96.429,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58624,
    "c": 0.15819,
    "h": 136.1
  },
  "luminance": 0.21587
}

Semantic roles & 50–950 ramp

primary
#4C9020
secondary
#9150BC
accent
#41E7A6
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C9020

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

Preview Lab → · Contrast checker → · Palette generator →

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