#158D47#158D47

#158D47 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.145 H 151.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#158D47
RGBrgb(21, 141, 71)
HSLhsl(145, 74%, 32%)
HSVhsv(145, 85%, 55%)
CMYKcmyk(85.1%, 0%, 49.6%, 44.7%)
CIE-LABlab(51.45, -47.30, 28.61)
CIE-LCHlch(51.45, 55.28, 148.83°)
OKLaboklab(56.56% -0.1269 0.0698)
OKLCHoklch(56.56% 0.145 151.2)
XYZxyz(10.9705, 19.6627, 9.1771)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D47 #8D155B
analogous
#1F8D15 #158D47 #158D83
triadic
#158D47 #47158D #8D4715
tetradic
#158D47 #151F8D #8D155B #8D8315
square
#158D47 #151F8D #8D155B #8D8315
split-complementary
#158D47 #83158D #8D151F
monochromatic
#052211 #0D582C #158D47 #1DC262 #3BE280

Accessibility & contrast

On white

4.26
#158D47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#158D47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158D47
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158D47#FFFFFF#000000##000000
##158D471.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8041
Deuteranopia (green-blind)
#80774C
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158d47;
/* rgb */ color: rgb(21, 141, 71);
/* oklch */ color: oklch(56.6% 0.145 151.2);
Tailwind
colors: {
  custom: {
    50: '#6baf7b',
    500: '#158d47',
    950: '#000000',
  },
}
SCSS
$custom: #158d47;
$custom-light: #6baf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#158d47",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 71
  },
  "hsl": {
    "h": 145,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56561,
    "c": 0.14483,
    "h": 151.2
  },
  "luminance": 0.19664
}

Semantic roles & 50–950 ramp

primary
#158D47
secondary
#C13D8A
accent
#37A3F1
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #158D47

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

Preview Lab → · Contrast checker → · Palette generator →

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