#4C8C2D#4C8C2D

#4C8C2D is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.7% C 0.144 H 137.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4C8C2D
RGBrgb(76, 140, 45)
HSLhsl(100, 51%, 36%)
HSVhsv(100, 68%, 55%)
CMYKcmyk(45.7%, 0%, 67.9%, 45.1%)
CIE-LABlab(52.38, -38.23, 42.82)
CIE-LCHlch(52.38, 57.40, 131.76°)
OKLaboklab(57.66% -0.1058 0.0983)
OKLCHoklch(57.66% 0.144 137.1)
XYZxyz(12.8318, 20.4813, 5.7593)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8C2D #6D2D8C
analogous
#7C8C2D #4C8C2D #2D8C3E
triadic
#4C8C2D #2D4C8C #8C2D4C
tetradic
#4C8C2D #2D7C8C #6D2D8C #8C3E2D
square
#4C8C2D #2D7C8C #6D2D8C #8C3E2D
split-complementary
#4C8C2D #3E2D8C #8C2D7C
monochromatic
#1A2F0F #335E1E #4C8C2D #65BA3C #88CE66

Accessibility & contrast

On white

4.12
#4C8C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4C8C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8C2D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8C2D#FFFFFF#000000##000000
##4C8C2D1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918020
Deuteranopia (green-blind)
#887B35
Tritanopia (blue-blind)
#498779
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8c2d;
/* rgb */ color: rgb(76, 140, 45);
/* oklch */ color: oklch(57.7% 0.144 137.1);
Tailwind
colors: {
  custom: {
    50: '#83ae6b',
    500: '#4c8c2d',
    950: '#000000',
  },
}
SCSS
$custom: #4c8c2d;
$custom-light: #83ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8c2d",
  "rgb": {
    "r": 76,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 100.421,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57663,
    "c": 0.14441,
    "h": 137.1
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

primary
#4C8C2D
secondary
#9960B4
accent
#4DDBAD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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