#158F39#158F39

#158F39 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.160 H 147.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#158F39
RGBrgb(21, 143, 57)
HSLhsl(138, 74%, 32%)
HSVhsv(138, 85%, 56%)
CMYKcmyk(85.3%, 0%, 60.1%, 43.9%)
CIE-LABlab(51.95, -50.19, 36.36)
CIE-LCHlch(51.95, 61.98, 144.07°)
OKLaboklab(56.91% -0.1348 0.0861)
OKLCHoklch(56.91% 0.16 147.4)
XYZxyz(10.8694, 20.0984, 7.1766)
Luminance0.2010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F39 #8F156B
analogous
#2E8F15 #158F39 #158F76
triadic
#158F39 #39158F #8F3915
tetradic
#158F39 #152E8F #8F156B #8F7615
square
#158F39 #152E8F #8F156B #8F7615
split-complementary
#158F39 #76158F #8F152E
monochromatic
#05240E #0D5A24 #158F39 #1DC44E #3CE26D

Accessibility & contrast

On white

4.18
#158F39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#158F39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F39
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F39#FFFFFF#000000##000000
##158F391.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918130
Deuteranopia (green-blind)
#847840
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #158f39;
/* rgb */ color: rgb(21, 143, 57);
/* oklch */ color: oklch(56.9% 0.160 147.4);
Tailwind
colors: {
  custom: {
    50: '#6cb172',
    500: '#158f39',
    950: '#000000',
  },
}
SCSS
$custom: #158f39;
$custom-light: #6cb172;
$custom-dark: #000000;
JSON
{
  "hex": "#158f39",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 57
  },
  "hsl": {
    "h": 137.705,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56912,
    "c": 0.15994,
    "h": 147.4
  },
  "luminance": 0.201
}

Semantic roles & 50–950 ramp

primary
#158F39
secondary
#C23E9B
accent
#37BAF1
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #158F39

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

Preview Lab → · Contrast checker → · Palette generator →

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