#4CB158#4CB158

#4CB158 is a light, vivid green. Relative luminance 0.337; OKLCH L 67.9% C 0.158 H 145.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#4CB158
RGBrgb(76, 177, 88)
HSLhsl(127, 40%, 50%)
HSVhsv(127, 57%, 69%)
CMYKcmyk(57.1%, 0%, 50.3%, 30.6%)
CIE-LABlab(64.71, -48.22, 36.66)
CIE-LCHlch(64.71, 60.57, 142.75°)
OKLaboklab(67.95% -0.1306 0.0887)
OKLCHoklch(67.95% 0.158 145.8)
XYZxyz(20.4628, 33.6835, 14.6539)
Luminance0.3368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4CB158 #B14CA5
analogous
#72B14C #4CB158 #4CB18B
triadic
#4CB158 #584CB1 #B1584C
tetradic
#4CB158 #4C72B1 #B14CA5 #B18B4C
square
#4CB158 #4C72B1 #B14CA5 #B18B4C
split-complementary
#4CB158 #8B4CB1 #B14C72
monochromatic
#275B2D #3A8643 #4CB158 #76C47F #A1D7A7

Accessibility & contrast

On white

2.71
#4CB158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#4CB158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4CB158
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4CB158#FFFFFF#000000##000000
##4CB1581.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A250
Deuteranopia (green-blind)
#A6995E
Tritanopia (blue-blind)
#38AD9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #4cb158;
/* rgb */ color: rgb(76, 177, 88);
/* oklch */ color: oklch(67.9% 0.158 145.8);
Tailwind
colors: {
  custom: {
    50: '#87c989',
    500: '#4cb158',
    950: '#000000',
  },
}
SCSS
$custom: #4cb158;
$custom-light: #87c989;
$custom-dark: #000000;
JSON
{
  "hex": "#4cb158",
  "rgb": {
    "r": 76,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 127.129,
    "s": 39.921,
    "l": 49.608
  },
  "oklch": {
    "l": 0.67946,
    "c": 0.15789,
    "h": 145.8
  },
  "luminance": 0.33685
}

Semantic roles & 50–950 ramp

primary
#4CB158
secondary
#C395BE
accent
#58C2D0
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0C130C
muted
#7D827D

Preview Lab

Preview with #4CB158

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

Preview Lab → · Contrast checker → · Palette generator →

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