#4C8F2C#4C8F2C

#4C8F2C is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.5% C 0.149 H 137.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4C8F2C
RGBrgb(76, 143, 44)
HSLhsl(101, 53%, 37%)
HSVhsv(101, 69%, 56%)
CMYKcmyk(46.9%, 0%, 69.2%, 43.9%)
CIE-LABlab(53.34, -39.59, 44.27)
CIE-LCHlch(53.34, 59.40, 131.80°)
OKLaboklab(58.45% -0.1096 0.1012)
OKLCHoklch(58.45% 0.149 137.3)
XYZxyz(13.2572, 21.3624, 5.8072)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8F2C #6F2C8F
analogous
#7E8F2C #4C8F2C #2C8F3E
triadic
#4C8F2C #2C4C8F #8F2C4C
tetradic
#4C8F2C #2C7E8F #6F2C8F #8F3E2C
square
#4C8F2C #2C7E8F #6F2C8F #8F3E2C
split-complementary
#4C8F2C #3E2C8F #8F2C7E
monochromatic
#1A310F #33601E #4C8F2C #65BE3A #88D066

Accessibility & contrast

On white

3.98
#4C8F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4C8F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8F2C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8F2C#FFFFFF#000000##000000
##4C8F2C1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831E
Deuteranopia (green-blind)
#8B7D35
Tritanopia (blue-blind)
#488A7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8f2c;
/* rgb */ color: rgb(76, 143, 44);
/* oklch */ color: oklch(58.5% 0.149 137.3);
Tailwind
colors: {
  custom: {
    50: '#84b06b',
    500: '#4c8f2c',
    950: '#000000',
  },
}
SCSS
$custom: #4c8f2c;
$custom-light: #84b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8f2c",
  "rgb": {
    "r": 76,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 100.606,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58453,
    "c": 0.14918,
    "h": 137.3
  },
  "luminance": 0.21363
}

Semantic roles & 50–950 ramp

primary
#4C8F2C
secondary
#9B61B6
accent
#4BDCAE
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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