#158F2A#158F2A

#158F2A is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.7% C 0.171 H 144.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#158F2A
RGBrgb(21, 143, 42)
HSLhsl(130, 74%, 32%)
HSVhsv(130, 85%, 56%)
CMYKcmyk(85.3%, 0%, 70.6%, 43.9%)
CIE-LABlab(51.80, -51.97, 43.02)
CIE-LCHlch(51.80, 67.47, 140.38°)
OKLaboklab(56.75% -0.1402 0.0988)
OKLCHoklch(56.75% 0.171 144.8)
XYZxyz(10.5489, 19.9702, 5.4887)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F2A #8F157A
analogous
#3D8F15 #158F2A #158F67
triadic
#158F2A #2A158F #8F2A15
tetradic
#158F2A #153D8F #8F157A #8F6715
square
#158F2A #153D8F #8F157A #8F6715
split-complementary
#158F2A #67158F #8F153D
monochromatic
#05240B #0D5A1A #158F2A #1DC43A #3CE259

Accessibility & contrast

On white

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

On black

4.99
#158F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F2A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F2A#FFFFFF#000000##000000
##158F2A1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f2a;
/* rgb */ color: rgb(21, 143, 42);
/* oklch */ color: oklch(56.7% 0.171 144.8);
Tailwind
colors: {
  custom: {
    50: '#6cb169',
    500: '#158f2a',
    950: '#000000',
  },
}
SCSS
$custom: #158f2a;
$custom-light: #6cb169;
$custom-dark: #000000;
JSON
{
  "hex": "#158f2a",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 130.328,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56745,
    "c": 0.17145,
    "h": 144.8
  },
  "luminance": 0.19972
}

Semantic roles & 50–950 ramp

primary
#158F2A
secondary
#C23EAB
accent
#37D1F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #158F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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