#4C8A2D#4C8A2D

#4C8A2D is a mid, vivid green. Relative luminance 0.199; OKLCH L 57.1% C 0.142 H 136.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4C8A2D
RGBrgb(76, 138, 45)
HSLhsl(100, 51%, 36%)
HSVhsv(100, 67%, 54%)
CMYKcmyk(44.9%, 0%, 67.4%, 45.9%)
CIE-LABlab(51.73, -37.37, 42.12)
CIE-LCHlch(51.73, 56.30, 131.58°)
OKLaboklab(57.13% -0.1034 0.0968)
OKLCHoklch(57.13% 0.142 136.9)
XYZxyz(12.5423, 19.9022, 5.6627)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A2D #6B2D8A
analogous
#7A8A2D #4C8A2D #2D8A3C
triadic
#4C8A2D #2D4C8A #8A2D4C
tetradic
#4C8A2D #2D7A8A #6B2D8A #8A3C2D
square
#4C8A2D #2D7A8A #6B2D8A #8A3C2D
split-complementary
#4C8A2D #3C2D8A #8A2D7A
monochromatic
#192E0F #335C1E #4C8A2D #65B83C #87CD65

Accessibility & contrast

On white

4.22
#4C8A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4C8A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8A2D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8A2D#FFFFFF#000000##000000
##4C8A2D1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#498577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c8a2d;
/* rgb */ color: rgb(76, 138, 45);
/* oklch */ color: oklch(57.1% 0.142 136.9);
Tailwind
colors: {
  custom: {
    50: '#83ad6b',
    500: '#4c8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a2d;
$custom-light: #83ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a2d",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 100,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57129,
    "c": 0.14169,
    "h": 136.9
  },
  "luminance": 0.19903
}

Semantic roles & 50–950 ramp

primary
#4C8A2D
secondary
#9760B3
accent
#4DDAAB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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