#158F2F#158F2F

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

Color values

HEX#158F2F
RGBrgb(21, 143, 47)
HSLhsl(133, 74%, 32%)
HSVhsv(133, 85%, 56%)
CMYKcmyk(85.3%, 0%, 67.1%, 43.9%)
CIE-LABlab(51.85, -51.44, 40.91)
CIE-LCHlch(51.85, 65.72, 141.50°)
OKLaboklab(56.79% -0.1385 0.0949)
OKLCHoklch(56.79% 0.168 145.6)
XYZxyz(10.6440, 20.0083, 5.9898)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F2F #8F1575
analogous
#388F15 #158F2F #158F6C
triadic
#158F2F #2F158F #8F2F15
tetradic
#158F2F #15388F #8F1575 #8F6C15
square
#158F2F #15388F #8F1575 #8F6C15
split-complementary
#158F2F #6C158F #8F1538
monochromatic
#05240C #0D5A1D #158F2F #1DC441 #3CE25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158F2F#FFFFFF#000000##000000
##158F2F1.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)
#918123
Deuteranopia (green-blind)
#857838
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #158f2f;
/* rgb */ color: rgb(21, 143, 47);
/* oklch */ color: oklch(56.8% 0.168 145.6);
Tailwind
colors: {
  custom: {
    50: '#6cb16c',
    500: '#158f2f',
    950: '#000000',
  },
}
SCSS
$custom: #158f2f;
$custom-light: #6cb16c;
$custom-dark: #000000;
JSON
{
  "hex": "#158f2f",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 132.787,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56795,
    "c": 0.16789,
    "h": 145.6
  },
  "luminance": 0.2001
}

Semantic roles & 50–950 ramp

primary
#158F2F
secondary
#C23EA6
accent
#37C9F1
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #158F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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