#158E3B#158E3B

#158E3B is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.157 H 147.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#158E3B
RGBrgb(21, 142, 59)
HSLhsl(139, 74%, 32%)
HSVhsv(139, 85%, 56%)
CMYKcmyk(85.2%, 0%, 58.5%, 44.3%)
CIE-LABlab(51.63, -49.56, 35.01)
CIE-LCHlch(51.63, 60.68, 144.76°)
OKLaboklab(56.66% -0.1331 0.0833)
OKLCHoklch(56.66% 0.157 147.9)
XYZxyz(10.7708, 19.8199, 7.3948)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E3B #8E1568
analogous
#2C8E15 #158E3B #158E78
triadic
#158E3B #3B158E #8E3B15
tetradic
#158E3B #152C8E #8E1568 #8E7815
square
#158E3B #152C8E #8E1568 #8E7815
split-complementary
#158E3B #78158E #8E152C
monochromatic
#05230F #0D5925 #158E3B #1DC351 #3BE270

Accessibility & contrast

On white

4.23
#158E3B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#158E3B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158E3B
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158E3B#FFFFFF#000000##000000
##158E3B1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908133
Deuteranopia (green-blind)
#837742
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158e3b;
/* rgb */ color: rgb(21, 142, 59);
/* oklch */ color: oklch(56.7% 0.157 147.9);
Tailwind
colors: {
  custom: {
    50: '#6bb073',
    500: '#158e3b',
    950: '#000000',
  },
}
SCSS
$custom: #158e3b;
$custom-light: #6bb073;
$custom-dark: #000000;
JSON
{
  "hex": "#158e3b",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 59
  },
  "hsl": {
    "h": 138.843,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56658,
    "c": 0.15699,
    "h": 147.9
  },
  "luminance": 0.19821
}

Semantic roles & 50–950 ramp

primary
#158E3B
secondary
#C23D98
accent
#37B6F1
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #158E3B

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

Preview Lab → · Contrast checker → · Palette generator →

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