#4C8E2C#4C8E2C

#4C8E2C is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.2% C 0.148 H 137.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4C8E2C
RGBrgb(76, 142, 44)
HSLhsl(100, 53%, 36%)
HSVhsv(100, 69%, 56%)
CMYKcmyk(46.5%, 0%, 69%, 44.3%)
CIE-LABlab(53.02, -39.17, 43.93)
CIE-LCHlch(53.02, 58.86, 131.72°)
OKLaboklab(58.19% -0.1084 0.1005)
OKLCHoklch(58.19% 0.148 137.2)
XYZxyz(13.1077, 21.0635, 5.7574)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E2C #6E2C8E
analogous
#7D8E2C #4C8E2C #2C8E3D
triadic
#4C8E2C #2C4C8E #8E2C4C
tetradic
#4C8E2C #2C7D8E #6E2C8E #8E3D2C
square
#4C8E2C #2C7D8E #6E2C8E #8E3D2C
split-complementary
#4C8E2C #3D2C8E #8E2C7D
monochromatic
#1A310F #335F1E #4C8E2C #65BD3A #88CF65

Accessibility & contrast

On white

4.03
#4C8E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4C8E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8E2C
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8E2C#FFFFFF#000000##000000
##4C8E2C1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821E
Deuteranopia (green-blind)
#8A7D35
Tritanopia (blue-blind)
#48897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8e2c;
/* rgb */ color: rgb(76, 142, 44);
/* oklch */ color: oklch(58.2% 0.148 137.2);
Tailwind
colors: {
  custom: {
    50: '#84af6a',
    500: '#4c8e2c',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e2c;
$custom-light: #84af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e2c",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 100.408,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58186,
    "c": 0.14784,
    "h": 137.2
  },
  "luminance": 0.21064
}

Semantic roles & 50–950 ramp

primary
#4C8E2C
secondary
#9A60B6
accent
#4CDCAD
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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