#4C8A4F#4C8A4F

#4C8A4F is a mid, moderate green. Relative luminance 0.203; OKLCH L 57.6% C 0.110 H 145.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4C8A4F
RGBrgb(76, 138, 79)
HSLhsl(123, 29%, 42%)
HSVhsv(123, 45%, 54%)
CMYKcmyk(44.9%, 0%, 42.8%, 45.9%)
CIE-LABlab(52.15, -33.00, 25.50)
CIE-LCHlch(52.15, 41.70, 142.31°)
OKLaboklab(57.61% -0.0898 0.0629)
OKLCHoklch(57.61% 0.11 145)
XYZxyz(13.4796, 20.2771, 10.5992)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A4F #8A4C87
analogous
#688A4C #4C8A4F #4C8A6E
triadic
#4C8A4F #4F4C8A #8A4F4C
tetradic
#4C8A4F #4C688A #8A4C87 #8A6E4C
square
#4C8A4F #4C688A #8A4C87 #8A6E4C
split-complementary
#4C8A4F #6E4C8A #8A4C68
monochromatic
#213B22 #366338 #4C8A4F #68AC6B #8FC191

Accessibility & contrast

On white

4.15
#4C8A4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4C8A4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8A4F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8A4F#FFFFFF#000000##000000
##4C8A4F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804B
Deuteranopia (green-blind)
#837A53
Tritanopia (blue-blind)
#44877C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8a4f;
/* rgb */ color: rgb(76, 138, 79);
/* oklch */ color: oklch(57.6% 0.110 145.0);
Tailwind
colors: {
  custom: {
    50: '#82ac81',
    500: '#4c8a4f',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a4f;
$custom-light: #82ac81;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a4f",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 79
  },
  "hsl": {
    "h": 122.903,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.57612,
    "c": 0.1096,
    "h": 145
  },
  "luminance": 0.20278
}

Semantic roles & 50–950 ramp

primary
#4C8A4F
secondary
#AE84AC
accent
#63C0C5
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #4C8A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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