#4C8D2F#4C8D2F

#4C8D2F is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.9% C 0.144 H 137.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4C8D2F
RGBrgb(76, 141, 47)
HSLhsl(101, 50%, 37%)
HSVhsv(101, 67%, 55%)
CMYKcmyk(46.1%, 0%, 66.7%, 44.7%)
CIE-LABlab(52.72, -38.47, 42.31)
CIE-LCHlch(52.72, 57.18, 132.28°)
OKLaboklab(57.95% -0.1063 0.0975)
OKLCHoklch(57.95% 0.144 137.5)
XYZxyz(13.0181, 20.7907, 6.0158)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D2F #702F8D
analogous
#7B8D2F #4C8D2F #2F8D41
triadic
#4C8D2F #2F4C8D #8D2F4C
tetradic
#4C8D2F #2F7B8D #702F8D #8D412F
square
#4C8D2F #2F7B8D #702F8D #8D412F
split-complementary
#4C8D2F #412F8D #8D2F7B
monochromatic
#1B3110 #335F20 #4C8D2F #65BB3E #88CD69

Accessibility & contrast

On white

4.07
#4C8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4C8D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D2F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D2F#FFFFFF#000000##000000
##4C8D2F1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928123
Deuteranopia (green-blind)
#897C37
Tritanopia (blue-blind)
#48887A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8d2f;
/* rgb */ color: rgb(76, 141, 47);
/* oklch */ color: oklch(57.9% 0.144 137.5);
Tailwind
colors: {
  custom: {
    50: '#84af6c',
    500: '#4c8d2f',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d2f;
$custom-light: #84af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d2f",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 101.489,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57949,
    "c": 0.14422,
    "h": 137.5
  },
  "luminance": 0.20791
}

Semantic roles & 50–950 ramp

primary
#4C8D2F
secondary
#9B64B4
accent
#4EDAAF
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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