#4C9C28#4C9C28

#4C9C28 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.9% C 0.169 H 137.9°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4C9C28
RGBrgb(76, 156, 40)
HSLhsl(101, 59%, 38%)
HSVhsv(101, 74%, 61%)
CMYKcmyk(51.3%, 0%, 74.4%, 38.8%)
CIE-LABlab(57.53, -45.22, 50.16)
CIE-LCHlch(57.53, 67.54, 132.03°)
OKLaboklab(61.88% -0.1251 0.113)
OKLCHoklch(61.88% 0.169 137.9)
XYZxyz(15.2514, 25.4655, 6.1187)
Luminance0.2547 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9C28 #78289C
analogous
#869C28 #4C9C28 #289C3E
triadic
#4C9C28 #284C9C #9C284C
tetradic
#4C9C28 #28869C #78289C #9C3E28
square
#4C9C28 #28869C #78289C #9C3E28
split-complementary
#4C9C28 #3E289C #9C2886
monochromatic
#1D3B0F #346B1C #4C9C28 #64CB36 #8AD867

Accessibility & contrast

On white

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

On black

6.09
#4C9C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C9C28
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C9C28#FFFFFF#000000##000000
##4C9C281.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E12
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#469686
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4c9c28;
/* rgb */ color: rgb(76, 156, 40);
/* oklch */ color: oklch(61.9% 0.169 137.9);
Tailwind
colors: {
  custom: {
    50: '#86ba6a',
    500: '#4c9c28',
    950: '#000000',
  },
}
SCSS
$custom: #4c9c28;
$custom-light: #86ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9c28",
  "rgb": {
    "r": 76,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 101.379,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6188,
    "c": 0.16856,
    "h": 137.9
  },
  "luminance": 0.25467
}

Semantic roles & 50–950 ramp

primary
#4C9C28
secondary
#A162BE
accent
#45E2B2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4C9C28

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

Preview Lab → · Contrast checker → · Palette generator →

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