#158D3C#158D3C

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

Color values

HEX#158D3C
RGBrgb(21, 141, 60)
HSLhsl(140, 74%, 32%)
HSVhsv(140, 85%, 55%)
CMYKcmyk(85.1%, 0%, 57.4%, 44.7%)
CIE-LABlab(51.31, -49.07, 34.12)
CIE-LCHlch(51.31, 59.77, 145.19°)
OKLaboklab(56.39% -0.1317 0.0814)
OKLCHoklch(56.39% 0.155 148.3)
XYZxyz(10.6489, 19.5341, 7.4833)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D3C #8D1566
analogous
#2A8D15 #158D3C #158D78
triadic
#158D3C #3C158D #8D3C15
tetradic
#158D3C #152A8D #8D1566 #8D7815
square
#158D3C #152A8D #8D1566 #8D7815
split-complementary
#158D3C #78158D #8D152A
monochromatic
#05220F #0D5825 #158D3C #1DC253 #3BE271

Accessibility & contrast

On white

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

On black

4.91
#158D3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158D3C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158D3C#FFFFFF#000000##000000
##158D3C1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #158d3c;
/* rgb */ color: rgb(21, 141, 60);
/* oklch */ color: oklch(56.4% 0.155 148.3);
Tailwind
colors: {
  custom: {
    50: '#6baf74',
    500: '#158d3c',
    950: '#000000',
  },
}
SCSS
$custom: #158d3c;
$custom-light: #6baf74;
$custom-dark: #000000;
JSON
{
  "hex": "#158d3c",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 60
  },
  "hsl": {
    "h": 139.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56391,
    "c": 0.15485,
    "h": 148.3
  },
  "luminance": 0.19535
}

Semantic roles & 50–950 ramp

primary
#158D3C
secondary
#C13D96
accent
#37B4F1
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081108
muted
#7B807B

Preview Lab

Preview with #158D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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