#158D39#158D39

#158D39 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.157 H 147.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#158D39
RGBrgb(21, 141, 57)
HSLhsl(138, 74%, 32%)
HSVhsv(138, 85%, 55%)
CMYKcmyk(85.1%, 0%, 59.6%, 44.7%)
CIE-LABlab(51.27, -49.50, 35.57)
CIE-LCHlch(51.27, 60.96, 144.30°)
OKLaboklab(56.35% -0.1329 0.0844)
OKLCHoklch(56.35% 0.157 147.6)
XYZxyz(10.5718, 19.5033, 7.0774)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D39 #8D1569
analogous
#2D8D15 #158D39 #158D75
triadic
#158D39 #39158D #8D3915
tetradic
#158D39 #152D8D #8D1569 #8D7515
square
#158D39 #152D8D #8D1569 #8D7515
split-complementary
#158D39 #75158D #8D152D
monochromatic
#05220E #0D5823 #158D39 #1DC24F #3BE26D

Accessibility & contrast

On white

4.28
#158D39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#158D39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158D39
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158D39#FFFFFF#000000##000000
##158D391.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8031
Deuteranopia (green-blind)
#827740
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158d39;
/* rgb */ color: rgb(21, 141, 57);
/* oklch */ color: oklch(56.4% 0.157 147.6);
Tailwind
colors: {
  custom: {
    50: '#6baf72',
    500: '#158d39',
    950: '#000000',
  },
}
SCSS
$custom: #158d39;
$custom-light: #6baf72;
$custom-dark: #000000;
JSON
{
  "hex": "#158d39",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 57
  },
  "hsl": {
    "h": 138,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5635,
    "c": 0.15745,
    "h": 147.6
  },
  "luminance": 0.19505
}

Semantic roles & 50–950 ramp

primary
#158D39
secondary
#C13D99
accent
#37B9F1
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081108
muted
#7B807B

Preview Lab

Preview with #158D39

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

Preview Lab → · Contrast checker → · Palette generator →

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