#158D2B#158D2B

#158D2B is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.168 H 145.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#158D2B
RGBrgb(21, 141, 43)
HSLhsl(131, 74%, 32%)
HSVhsv(131, 85%, 55%)
CMYKcmyk(85.1%, 0%, 69.5%, 44.7%)
CIE-LABlab(51.13, -51.22, 41.88)
CIE-LCHlch(51.13, 66.16, 140.73°)
OKLaboklab(56.19% -0.1381 0.0965)
OKLCHoklch(56.19% 0.168 145.1)
XYZxyz(10.2694, 19.3823, 5.4850)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D2B #8D1577
analogous
#3B8D15 #158D2B #158D67
triadic
#158D2B #2B158D #8D2B15
tetradic
#158D2B #153B8D #8D1577 #8D6715
square
#158D2B #153B8D #8D1577 #8D6715
split-complementary
#158D2B #67158D #8D153B
monochromatic
#05220B #0D581B #158D2B #1DC23B #3BE259

Accessibility & contrast

On white

4.31
#158D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#158D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158D2B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158D2B#FFFFFF#000000##000000
##158D2B1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1D
Deuteranopia (green-blind)
#837634
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158d2b;
/* rgb */ color: rgb(21, 141, 43);
/* oklch */ color: oklch(56.2% 0.168 145.1);
Tailwind
colors: {
  custom: {
    50: '#6cb069',
    500: '#158d2b',
    950: '#000000',
  },
}
SCSS
$custom: #158d2b;
$custom-light: #6cb069;
$custom-dark: #000000;
JSON
{
  "hex": "#158d2b",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 131,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56189,
    "c": 0.16843,
    "h": 145.1
  },
  "luminance": 0.19384
}

Semantic roles & 50–950 ramp

primary
#158D2B
secondary
#C13DA9
accent
#37CFF1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081107
muted
#7B807A

Preview Lab

Preview with #158D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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