#4C8D2E#4C8D2E

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

Color values

HEX#4C8D2E
RGBrgb(76, 141, 46)
HSLhsl(101, 51%, 37%)
HSVhsv(101, 67%, 55%)
CMYKcmyk(46.1%, 0%, 67.4%, 44.7%)
CIE-LABlab(52.71, -38.56, 42.74)
CIE-LCHlch(52.71, 57.57, 132.06°)
OKLaboklab(57.94% -0.1066 0.0983)
OKLCHoklch(57.94% 0.145 137.3)
XYZxyz(12.9981, 20.7827, 5.9108)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D2E #6F2E8D
analogous
#7C8D2E #4C8D2E #2E8D40
triadic
#4C8D2E #2E4C8D #8D2E4C
tetradic
#4C8D2E #2E7C8D #6F2E8D #8D402E
square
#4C8D2E #2E7C8D #6F2E8D #8D402E
split-complementary
#4C8D2E #402E8D #8D2E7C
monochromatic
#1A3110 #335F1F #4C8D2E #65BB3D #88CE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8D2E#FFFFFF#000000##000000
##4C8D2E1.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)
#928122
Deuteranopia (green-blind)
#897C36
Tritanopia (blue-blind)
#488879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8d2e;
/* rgb */ color: rgb(76, 141, 46);
/* oklch */ color: oklch(57.9% 0.145 137.3);
Tailwind
colors: {
  custom: {
    50: '#84af6b',
    500: '#4c8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d2e;
$custom-light: #84af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d2e",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 101.053,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57939,
    "c": 0.145,
    "h": 137.3
  },
  "luminance": 0.20784
}

Semantic roles & 50–950 ramp

primary
#4C8D2E
secondary
#9B62B5
accent
#4EDAAE
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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