#4C8A5F#4C8A5F

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

Color values

HEX#4C8A5F
RGBrgb(76, 138, 95)
HSLhsl(138, 29%, 42%)
HSVhsv(138, 45%, 54%)
CMYKcmyk(44.9%, 0%, 31.2%, 45.9%)
CIE-LABlab(52.44, -30.11, 16.95)
CIE-LCHlch(52.44, 34.55, 150.62°)
OKLaboklab(57.95% -0.0822 0.0429)
OKLCHoklch(57.95% 0.093 152.5)
XYZxyz(14.1336, 20.5387, 14.0439)
Luminance0.2054 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A5F #8A4C77
analogous
#588A4C #4C8A5F #4C8A7E
triadic
#4C8A5F #5F4C8A #8A5F4C
tetradic
#4C8A5F #4C588A #8A4C77 #8A7E4C
square
#4C8A5F #4C588A #8A4C77 #8A7E4C
split-complementary
#4C8A5F #7E4C8A #8A4C58
monochromatic
#213B29 #366344 #4C8A5F #68AC7C #8FC19E

Accessibility & contrast

On white

4.11
#4C8A5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4C8A5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8A5F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8A5F#FFFFFF#000000##000000
##4C8A5F1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A815C
Deuteranopia (green-blind)
#817B62
Tritanopia (blue-blind)
#40887F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8a5f;
/* rgb */ color: rgb(76, 138, 95);
/* oklch */ color: oklch(57.9% 0.093 152.5);
Tailwind
colors: {
  custom: {
    50: '#81ac8c',
    500: '#4c8a5f',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a5f;
$custom-light: #81ac8c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a5f",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 95
  },
  "hsl": {
    "h": 138.387,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.57945,
    "c": 0.09274,
    "h": 152.5
  },
  "luminance": 0.2054
}

Semantic roles & 50–950 ramp

primary
#4C8A5F
secondary
#AE84A1
accent
#63A7C5
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B100C
muted
#7C7F7D

Preview Lab

Preview with #4C8A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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