#158F3B#158F3B

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

Color values

HEX#158F3B
RGBrgb(21, 143, 59)
HSLhsl(139, 74%, 32%)
HSVhsv(139, 85%, 56%)
CMYKcmyk(85.3%, 0%, 58.7%, 43.9%)
CIE-LABlab(51.97, -49.91, 35.41)
CIE-LCHlch(51.97, 61.19, 144.64°)
OKLaboklab(56.94% -0.134 0.0842)
OKLCHoklch(56.94% 0.158 147.9)
XYZxyz(10.9203, 20.1188, 7.4446)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F3B #8F1569
analogous
#2C8F15 #158F3B #158F78
triadic
#158F3B #3B158F #8F3B15
tetradic
#158F3B #152C8F #8F1569 #8F7815
square
#158F3B #152C8F #8F1569 #8F7815
split-complementary
#158F3B #78158F #8F152C
monochromatic
#05240F #0D5A25 #158F3B #1DC451 #3CE270

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158F3B#FFFFFF#000000##000000
##158F3B1.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)
#918133
Deuteranopia (green-blind)
#847842
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #158f3b;
/* rgb */ color: rgb(21, 143, 59);
/* oklch */ color: oklch(56.9% 0.158 147.9);
Tailwind
colors: {
  custom: {
    50: '#6cb173',
    500: '#158f3b',
    950: '#000000',
  },
}
SCSS
$custom: #158f3b;
$custom-light: #6cb173;
$custom-dark: #000000;
JSON
{
  "hex": "#158f3b",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 59
  },
  "hsl": {
    "h": 138.689,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56939,
    "c": 0.15824,
    "h": 147.9
  },
  "luminance": 0.2012
}

Semantic roles & 50–950 ramp

primary
#158F3B
secondary
#C23E99
accent
#37B7F1
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #158F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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