#4C8A52#4C8A52

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

Color values

HEX#4C8A52
RGBrgb(76, 138, 82)
HSLhsl(126, 29%, 42%)
HSVhsv(126, 45%, 54%)
CMYKcmyk(44.9%, 0%, 40.6%, 45.9%)
CIE-LABlab(52.20, -32.50, 23.91)
CIE-LCHlch(52.20, 40.35, 143.66°)
OKLaboklab(57.67% -0.0884 0.0593)
OKLCHoklch(57.67% 0.106 146.2)
XYZxyz(13.5912, 20.3218, 11.1873)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A52 #8A4C84
analogous
#658A4C #4C8A52 #4C8A71
triadic
#4C8A52 #524C8A #8A524C
tetradic
#4C8A52 #4C658A #8A4C84 #8A714C
square
#4C8A52 #4C658A #8A4C84 #8A714C
split-complementary
#4C8A52 #714C8A #8A4C65
monochromatic
#213B23 #36633B #4C8A52 #68AC6E #8FC194

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8A52#FFFFFF#000000##000000
##4C8A521.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)
#8C804E
Deuteranopia (green-blind)
#837A55
Tritanopia (blue-blind)
#43877C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8a52;
/* rgb */ color: rgb(76, 138, 82);
/* oklch */ color: oklch(57.7% 0.106 146.2);
Tailwind
colors: {
  custom: {
    50: '#82ac83',
    500: '#4c8a52',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a52;
$custom-light: #82ac83;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a52",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 82
  },
  "hsl": {
    "h": 125.806,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.57669,
    "c": 0.10643,
    "h": 146.2
  },
  "luminance": 0.20323
}

Semantic roles & 50–950 ramp

primary
#4C8A52
secondary
#AE84AA
accent
#63BCC5
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #4C8A52

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

Preview Lab → · Contrast checker → · Palette generator →

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