#158E2D#158E2D

#158E2D is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.168 H 145.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#158E2D
RGBrgb(21, 142, 45)
HSLhsl(132, 74%, 32%)
HSVhsv(132, 85%, 56%)
CMYKcmyk(85.2%, 0%, 68.3%, 44.3%)
CIE-LABlab(51.49, -51.33, 41.40)
CIE-LCHlch(51.49, 65.95, 141.11°)
OKLaboklab(56.49% -0.1383 0.0957)
OKLCHoklch(56.49% 0.168 145.3)
XYZxyz(10.4551, 19.6936, 5.7323)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E2D #8E1576
analogous
#3A8E15 #158E2D #158E6A
triadic
#158E2D #2D158E #8E2D15
tetradic
#158E2D #153A8E #8E1576 #8E6A15
square
#158E2D #153A8E #8E1576 #8E6A15
split-complementary
#158E2D #6A158E #8E153A
monochromatic
#05230B #0D591C #158E2D #1DC33E #3BE25C

Accessibility & contrast

On white

4.25
#158E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#158E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158E2D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158E2D#FFFFFF#000000##000000
##158E2D1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908020
Deuteranopia (green-blind)
#847736
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158e2d;
/* rgb */ color: rgb(21, 142, 45);
/* oklch */ color: oklch(56.5% 0.168 145.3);
Tailwind
colors: {
  custom: {
    50: '#6cb06b',
    500: '#158e2d',
    950: '#000000',
  },
}
SCSS
$custom: #158e2d;
$custom-light: #6cb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#158e2d",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 131.901,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56492,
    "c": 0.16817,
    "h": 145.3
  },
  "luminance": 0.19695
}

Semantic roles & 50–950 ramp

primary
#158E2D
secondary
#C23DA7
accent
#37CCF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #158E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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