#158D32#158D32

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

Color values

HEX#158D32
RGBrgb(21, 141, 50)
HSLhsl(135, 74%, 32%)
HSVhsv(135, 85%, 55%)
CMYKcmyk(85.1%, 0%, 64.5%, 44.7%)
CIE-LABlab(51.20, -50.42, 38.83)
CIE-LCHlch(51.20, 63.64, 142.40°)
OKLaboklab(56.26% -0.1356 0.0908)
OKLCHoklch(56.26% 0.163 146.2)
XYZxyz(10.4091, 19.4382, 6.2203)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D32 #8D1570
analogous
#348D15 #158D32 #158D6E
triadic
#158D32 #32158D #8D3215
tetradic
#158D32 #15348D #8D1570 #8D6E15
square
#158D32 #15348D #8D1570 #8D6E15
split-complementary
#158D32 #6E158D #8D1534
monochromatic
#05220C #0D581F #158D32 #1DC245 #3BE263

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158D32#FFFFFF#000000##000000
##158D321.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)
#8F7F27
Deuteranopia (green-blind)
#82763A
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158d32;
/* rgb */ color: rgb(21, 141, 50);
/* oklch */ color: oklch(56.3% 0.163 146.2);
Tailwind
colors: {
  custom: {
    50: '#6baf6e',
    500: '#158d32',
    950: '#000000',
  },
}
SCSS
$custom: #158d32;
$custom-light: #6baf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#158d32",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 50
  },
  "hsl": {
    "h": 134.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56263,
    "c": 0.1632,
    "h": 146.2
  },
  "luminance": 0.19439
}

Semantic roles & 50–950 ramp

primary
#158D32
secondary
#C13DA1
accent
#37C4F1
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081107
muted
#7B807A

Preview Lab

Preview with #158D32

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

Preview Lab → · Contrast checker → · Palette generator →

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