#158E3F#158E3F

#158E3F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.153 H 148.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#158E3F
RGBrgb(21, 142, 63)
HSLhsl(141, 74%, 32%)
HSVhsv(141, 85%, 56%)
CMYKcmyk(85.2%, 0%, 55.6%, 44.3%)
CIE-LABlab(51.68, -48.97, 33.06)
CIE-LCHlch(51.68, 59.08, 145.98°)
OKLaboklab(56.72% -0.1314 0.0793)
OKLCHoklch(56.72% 0.153 148.9)
XYZxyz(10.8785, 19.8630, 7.9623)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E3F #8E1564
analogous
#288E15 #158E3F #158E7B
triadic
#158E3F #3F158E #8E3F15
tetradic
#158E3F #15288E #8E1564 #8E7B15
square
#158E3F #15288E #8E1564 #8E7B15
split-complementary
#158E3F #7B158E #8E1528
monochromatic
#052310 #0D5927 #158E3F #1DC357 #3BE275

Accessibility & contrast

On white

4.22
#158E3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#158E3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158E3F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158E3F#FFFFFF#000000##000000
##158E3F1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8138
Deuteranopia (green-blind)
#827845
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158e3f;
/* rgb */ color: rgb(21, 142, 63);
/* oklch */ color: oklch(56.7% 0.153 148.9);
Tailwind
colors: {
  custom: {
    50: '#6bb076',
    500: '#158e3f',
    950: '#000000',
  },
}
SCSS
$custom: #158e3f;
$custom-light: #6bb076;
$custom-dark: #000000;
JSON
{
  "hex": "#158e3f",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 63
  },
  "hsl": {
    "h": 140.826,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56715,
    "c": 0.15347,
    "h": 148.9
  },
  "luminance": 0.19864
}

Semantic roles & 50–950 ramp

primary
#158E3F
secondary
#C23D94
accent
#37B0F1
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #158E3F

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

Preview Lab → · Contrast checker → · Palette generator →

#158E3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva