#4C8D52#4C8D52

#4C8D52 is a mid, moderate green. Relative luminance 0.212; OKLCH L 58.5% C 0.111 H 146.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4C8D52
RGBrgb(76, 141, 82)
HSLhsl(126, 30%, 43%)
HSVhsv(126, 46%, 55%)
CMYKcmyk(46.1%, 0%, 41.8%, 44.7%)
CIE-LABlab(53.16, -33.88, 25.17)
CIE-LCHlch(53.16, 42.20, 143.39°)
OKLaboklab(58.45% -0.0921 0.0622)
OKLCHoklch(58.45% 0.111 146)
XYZxyz(14.0276, 21.1945, 11.3328)
Luminance0.2119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D52 #8D4C87
analogous
#678D4C #4C8D52 #4C8D72
triadic
#4C8D52 #524C8D #8D524C
tetradic
#4C8D52 #4C678D #8D4C87 #8D724C
square
#4C8D52 #4C678D #8D4C87 #8D724C
split-complementary
#4C8D52 #724C8D #8D4C67
monochromatic
#213D24 #37653B #4C8D52 #68AE6F #90C395

Accessibility & contrast

On white

4.01
#4C8D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4C8D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D52
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D52#FFFFFF#000000##000000
##4C8D521.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834E
Deuteranopia (green-blind)
#867D56
Tritanopia (blue-blind)
#428A7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8d52;
/* rgb */ color: rgb(76, 141, 82);
/* oklch */ color: oklch(58.5% 0.111 146.0);
Tailwind
colors: {
  custom: {
    50: '#82af83',
    500: '#4c8d52',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d52;
$custom-light: #82af83;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d52",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 125.538,
    "s": 29.954,
    "l": 42.549
  },
  "oklch": {
    "l": 0.58454,
    "c": 0.11115,
    "h": 146
  },
  "luminance": 0.21195
}

Semantic roles & 50–950 ramp

primary
#4C8D52
secondary
#AF85AC
accent
#62BDC6
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #4C8D52

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

Preview Lab → · Contrast checker → · Palette generator →

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