#158E31#158E31

#158E31 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.165 H 146.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#158E31
RGBrgb(21, 142, 49)
HSLhsl(134, 74%, 32%)
HSVhsv(134, 85%, 56%)
CMYKcmyk(85.2%, 0%, 65.5%, 44.3%)
CIE-LABlab(51.53, -50.87, 39.66)
CIE-LCHlch(51.53, 64.51, 142.06°)
OKLaboklab(56.54% -0.1369 0.0924)
OKLCHoklch(56.54% 0.165 146)
XYZxyz(10.5358, 19.7259, 6.1573)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E31 #8E1572
analogous
#368E15 #158E31 #158E6E
triadic
#158E31 #31158E #8E3115
tetradic
#158E31 #15368E #8E1572 #8E6E15
square
#158E31 #15368E #8E1572 #8E6E15
split-complementary
#158E31 #6E158E #8E1536
monochromatic
#05230C #0D591F #158E31 #1DC343 #3BE262

Accessibility & contrast

On white

4.25
#158E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#158E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158E31
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158E31#FFFFFF#000000##000000
##158E311.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#837739
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158e31;
/* rgb */ color: rgb(21, 142, 49);
/* oklch */ color: oklch(56.5% 0.165 146.0);
Tailwind
colors: {
  custom: {
    50: '#6cb06d',
    500: '#158e31',
    950: '#000000',
  },
}
SCSS
$custom: #158e31;
$custom-light: #6cb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#158e31",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 133.884,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56535,
    "c": 0.16518,
    "h": 146
  },
  "luminance": 0.19727
}

Semantic roles & 50–950 ramp

primary
#158E31
secondary
#C23DA3
accent
#37C6F1
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #158E31

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

Preview Lab → · Contrast checker → · Palette generator →

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