#158F3A#158F3A

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

Color values

HEX#158F3A
RGBrgb(21, 143, 58)
HSLhsl(138, 74%, 32%)
HSVhsv(138, 85%, 56%)
CMYKcmyk(85.3%, 0%, 59.4%, 43.9%)
CIE-LABlab(51.96, -50.05, 35.89)
CIE-LCHlch(51.96, 61.59, 144.36°)
OKLaboklab(56.93% -0.1344 0.0851)
OKLCHoklch(56.93% 0.159 147.6)
XYZxyz(10.8946, 20.1085, 7.3093)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F3A #8F156A
analogous
#2D8F15 #158F3A #158F77
triadic
#158F3A #3A158F #8F3A15
tetradic
#158F3A #152D8F #8F156A #8F7715
square
#158F3A #152D8F #8F156A #8F7715
split-complementary
#158F3A #77158F #8F152D
monochromatic
#05240F #0D5A24 #158F3A #1DC450 #3CE26E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158F3A#FFFFFF#000000##000000
##158F3A1.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)
#918131
Deuteranopia (green-blind)
#847841
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #158f3a;
/* rgb */ color: rgb(21, 143, 58);
/* oklch */ color: oklch(56.9% 0.159 147.6);
Tailwind
colors: {
  custom: {
    50: '#6cb173',
    500: '#158f3a',
    950: '#000000',
  },
}
SCSS
$custom: #158f3a;
$custom-light: #6cb173;
$custom-dark: #000000;
JSON
{
  "hex": "#158f3a",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 58
  },
  "hsl": {
    "h": 138.197,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56926,
    "c": 0.15909,
    "h": 147.6
  },
  "luminance": 0.2011
}

Semantic roles & 50–950 ramp

primary
#158F3A
secondary
#C23E9A
accent
#37B9F1
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #158F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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