#158F2C#158F2C

#158F2C is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.170 H 145.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#158F2C
RGBrgb(21, 143, 44)
HSLhsl(131, 74%, 32%)
HSVhsv(131, 85%, 56%)
CMYKcmyk(85.3%, 0%, 69.2%, 43.9%)
CIE-LABlab(51.82, -51.77, 42.19)
CIE-LCHlch(51.82, 66.78, 140.82°)
OKLaboklab(56.77% -0.1395 0.0973)
OKLCHoklch(56.77% 0.17 145.1)
XYZxyz(10.5856, 19.9849, 5.6819)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F2C #8F1578
analogous
#3B8F15 #158F2C #158F69
triadic
#158F2C #2C158F #8F2C15
tetradic
#158F2C #153B8F #8F1578 #8F6915
square
#158F2C #153B8F #8F1578 #8F6915
split-complementary
#158F2C #69158F #8F153B
monochromatic
#05240B #0D5A1C #158F2C #1DC43C #3CE25B

Accessibility & contrast

On white

4.20
#158F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#158F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F2C
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F2C#FFFFFF#000000##000000
##158F2C1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811E
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #158f2c;
/* rgb */ color: rgb(21, 143, 44);
/* oklch */ color: oklch(56.8% 0.170 145.1);
Tailwind
colors: {
  custom: {
    50: '#6cb16a',
    500: '#158f2c',
    950: '#000000',
  },
}
SCSS
$custom: #158f2c;
$custom-light: #6cb16a;
$custom-dark: #000000;
JSON
{
  "hex": "#158f2c",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 131.311,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56765,
    "c": 0.17007,
    "h": 145.1
  },
  "luminance": 0.19986
}

Semantic roles & 50–950 ramp

primary
#158F2C
secondary
#C23EA9
accent
#37CEF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #158F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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