#4C9722#4C9722

#4C9722 is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 60.5% C 0.166 H 137.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4C9722
RGBrgb(76, 151, 34)
HSLhsl(98, 63%, 36%)
HSVhsv(98, 77%, 59%)
CMYKcmyk(49.7%, 0%, 77.5%, 40.8%)
CIE-LABlab(55.87, -43.64, 50.67)
CIE-LCHlch(55.87, 66.87, 130.74°)
OKLaboklab(60.51% -0.1212 0.1132)
OKLCHoklch(60.51% 0.166 137)
XYZxyz(14.3354, 23.7842, 5.3485)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9722 #6D2297
analogous
#879722 #4C9722 #229733
triadic
#4C9722 #224C97 #97224C
tetradic
#4C9722 #228797 #6D2297 #973322
square
#4C9722 #228797 #6D2297 #973322
split-complementary
#4C9722 #332297 #972287
monochromatic
#1A330C #336517 #4C9722 #65C92D #88DA5A

Accessibility & contrast

On white

3.65
#4C9722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#4C9722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C9722
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C9722#FFFFFF#000000##000000
##4C97221.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A05
Deuteranopia (green-blind)
#92842F
Tritanopia (blue-blind)
#489181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4c9722;
/* rgb */ color: rgb(76, 151, 34);
/* oklch */ color: oklch(60.5% 0.166 137.0);
Tailwind
colors: {
  custom: {
    50: '#86b666',
    500: '#4c9722',
    950: '#000000',
  },
}
SCSS
$custom: #4c9722;
$custom-light: #86b666;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9722",
  "rgb": {
    "r": 76,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 98.462,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60507,
    "c": 0.16583,
    "h": 137
  },
  "luminance": 0.23785
}

Semantic roles & 50–950 ramp

primary
#4C9722
secondary
#9957BE
accent
#42E6AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C9722

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

Preview Lab → · Contrast checker → · Palette generator →

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