#4C8D2C#4C8D2C

#4C8D2C is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.9% C 0.147 H 137.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4C8D2C
RGBrgb(76, 141, 44)
HSLhsl(100, 52%, 36%)
HSVhsv(100, 69%, 55%)
CMYKcmyk(46.1%, 0%, 68.8%, 44.7%)
CIE-LABlab(52.69, -38.75, 43.59)
CIE-LCHlch(52.69, 58.32, 131.64°)
OKLaboklab(57.92% -0.1073 0.0998)
OKLCHoklch(57.92% 0.147 137.1)
XYZxyz(12.9596, 20.7673, 5.7080)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D2C #6D2C8D
analogous
#7D8D2C #4C8D2C #2C8D3D
triadic
#4C8D2C #2C4C8D #8D2C4C
tetradic
#4C8D2C #2C7D8D #6D2C8D #8D3D2C
square
#4C8D2C #2C7D8D #6D2C8D #8D3D2C
split-complementary
#4C8D2C #3D2C8D #8D2C7D
monochromatic
#1A300F #335E1D #4C8D2C #65BC3B #88CF65

Accessibility & contrast

On white

4.07
#4C8D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4C8D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D2C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D2C#FFFFFF#000000##000000
##4C8D2C1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811F
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#498879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8d2c;
/* rgb */ color: rgb(76, 141, 44);
/* oklch */ color: oklch(57.9% 0.147 137.1);
Tailwind
colors: {
  custom: {
    50: '#84af6a',
    500: '#4c8d2c',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d2c;
$custom-light: #84af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d2c",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 100.206,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5792,
    "c": 0.14651,
    "h": 137.1
  },
  "luminance": 0.20768
}

Semantic roles & 50–950 ramp

primary
#4C8D2C
secondary
#9960B5
accent
#4CDCAC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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