#4C8E2B#4C8E2B

#4C8E2B is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.2% C 0.149 H 137.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4C8E2B
RGBrgb(76, 142, 43)
HSLhsl(100, 54%, 36%)
HSVhsv(100, 70%, 56%)
CMYKcmyk(46.5%, 0%, 69.7%, 44.3%)
CIE-LABlab(53.01, -39.26, 44.34)
CIE-LCHlch(53.01, 59.23, 131.52°)
OKLaboklab(58.18% -0.1087 0.1013)
OKLCHoklch(58.18% 0.149 137)
XYZxyz(13.0891, 21.0561, 5.6596)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E2B #6D2B8E
analogous
#7E8E2B #4C8E2B #2B8E3C
triadic
#4C8E2B #2B4C8E #8E2B4C
tetradic
#4C8E2B #2B7E8E #6D2B8E #8E3C2B
square
#4C8E2B #2B7E8E #6D2B8E #8E3C2B
split-complementary
#4C8E2B #3C2B8E #8E2B7E
monochromatic
#1A300F #335F1D #4C8E2B #65BD39 #88D063

Accessibility & contrast

On white

4.03
#4C8E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4C8E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8E2B
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8E2B#FFFFFF#000000##000000
##4C8E2B1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821D
Deuteranopia (green-blind)
#8A7C34
Tritanopia (blue-blind)
#48897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8e2b;
/* rgb */ color: rgb(76, 142, 43);
/* oklch */ color: oklch(58.2% 0.149 137.0);
Tailwind
colors: {
  custom: {
    50: '#84af6a',
    500: '#4c8e2b',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e2b;
$custom-light: #84af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e2b",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 100,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58177,
    "c": 0.14857,
    "h": 137
  },
  "luminance": 0.21057
}

Semantic roles & 50–950 ramp

primary
#4C8E2B
secondary
#995FB6
accent
#4BDDAC
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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