#4C8A5C#4C8A5C

#4C8A5C is a mid, moderate green. Relative luminance 0.205; OKLCH L 57.9% C 0.096 H 150.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4C8A5C
RGBrgb(76, 138, 92)
HSLhsl(135, 29%, 42%)
HSVhsv(135, 45%, 54%)
CMYKcmyk(44.9%, 0%, 33.3%, 45.9%)
CIE-LABlab(52.38, -30.69, 18.57)
CIE-LCHlch(52.38, 35.87, 148.83°)
OKLaboklab(57.88% -0.0837 0.0468)
OKLCHoklch(57.88% 0.096 150.8)
XYZxyz(13.9999, 20.4852, 13.3395)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A5C #8A4C7A
analogous
#5B8A4C #4C8A5C #4C8A7B
triadic
#4C8A5C #5C4C8A #8A5C4C
tetradic
#4C8A5C #4C5B8A #8A4C7A #8A7B4C
square
#4C8A5C #4C5B8A #8A4C7A #8A7B4C
split-complementary
#4C8A5C #7B4C8A #8A4C5B
monochromatic
#213B27 #366342 #4C8A5C #68AC79 #8FC19C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8A5C#FFFFFF#000000##000000
##4C8A5C1.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)
#8B8159
Deuteranopia (green-blind)
#817A5F
Tritanopia (blue-blind)
#41887E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8a5c;
/* rgb */ color: rgb(76, 138, 92);
/* oklch */ color: oklch(57.9% 0.096 150.8);
Tailwind
colors: {
  custom: {
    50: '#81ac8a',
    500: '#4c8a5c',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a5c;
$custom-light: #81ac8a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a5c",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 92
  },
  "hsl": {
    "h": 135.484,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.57877,
    "c": 0.09586,
    "h": 150.8
  },
  "luminance": 0.20486
}

Semantic roles & 50–950 ramp

primary
#4C8A5C
secondary
#AE84A3
accent
#63ACC5
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B100B
muted
#7C7F7C

Preview Lab

Preview with #4C8A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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