#158E3A#158E3A

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

Color values

HEX#158E3A
RGBrgb(21, 142, 58)
HSLhsl(138, 74%, 32%)
HSVhsv(138, 85%, 56%)
CMYKcmyk(85.2%, 0%, 59.2%, 44.3%)
CIE-LABlab(51.62, -49.71, 35.49)
CIE-LCHlch(51.62, 61.08, 144.47°)
OKLaboklab(56.65% -0.1335 0.0843)
OKLCHoklch(56.65% 0.158 147.7)
XYZxyz(10.7451, 19.8096, 7.2595)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E3A #8E1569
analogous
#2D8E15 #158E3A #158E77
triadic
#158E3A #3A158E #8E3A15
tetradic
#158E3A #152D8E #8E1569 #8E7715
square
#158E3A #152D8E #8E1569 #8E7715
split-complementary
#158E3A #77158E #8E152D
monochromatic
#05230E #0D5924 #158E3A #1DC350 #3BE26E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158E3A#FFFFFF#000000##000000
##158E3A1.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)
#908132
Deuteranopia (green-blind)
#837741
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158e3a;
/* rgb */ color: rgb(21, 142, 58);
/* oklch */ color: oklch(56.6% 0.158 147.7);
Tailwind
colors: {
  custom: {
    50: '#6bb073',
    500: '#158e3a',
    950: '#000000',
  },
}
SCSS
$custom: #158e3a;
$custom-light: #6bb073;
$custom-dark: #000000;
JSON
{
  "hex": "#158e3a",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 58
  },
  "hsl": {
    "h": 138.347,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56645,
    "c": 0.15784,
    "h": 147.7
  },
  "luminance": 0.19811
}

Semantic roles & 50–950 ramp

primary
#158E3A
secondary
#C23D99
accent
#37B8F1
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #158E3A

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

Preview Lab → · Contrast checker → · Palette generator →

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