#158D31#158D31

#158D31 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.164 H 146.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#158D31
RGBrgb(21, 141, 49)
HSLhsl(134, 74%, 32%)
HSVhsv(134, 85%, 55%)
CMYKcmyk(85.1%, 0%, 65.2%, 44.7%)
CIE-LABlab(51.19, -50.54, 39.28)
CIE-LCHlch(51.19, 64.01, 142.15°)
OKLaboklab(56.25% -0.136 0.0916)
OKLCHoklch(56.25% 0.164 146)
XYZxyz(10.3877, 19.4296, 6.1080)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D31 #8D1571
analogous
#358D15 #158D31 #158D6D
triadic
#158D31 #31158D #8D3115
tetradic
#158D31 #15358D #8D1571 #8D6D15
square
#158D31 #15358D #8D1571 #8D6D15
split-complementary
#158D31 #6D158D #8D1535
monochromatic
#05220C #0D581E #158D31 #1DC244 #3BE262

Accessibility & contrast

On white

4.30
#158D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#158D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158D31
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158D31#FFFFFF#000000##000000
##158D311.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F26
Deuteranopia (green-blind)
#827639
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158d31;
/* rgb */ color: rgb(21, 141, 49);
/* oklch */ color: oklch(56.3% 0.164 146.0);
Tailwind
colors: {
  custom: {
    50: '#6baf6d',
    500: '#158d31',
    950: '#000000',
  },
}
SCSS
$custom: #158d31;
$custom-light: #6baf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#158d31",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 134,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56252,
    "c": 0.16398,
    "h": 146
  },
  "luminance": 0.19431
}

Semantic roles & 50–950 ramp

primary
#158D31
secondary
#C13DA2
accent
#37C5F1
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081107
muted
#7B807A

Preview Lab

Preview with #158D31

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

Preview Lab → · Contrast checker → · Palette generator →

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