#158E2A#158E2A

#158E2A is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.170 H 144.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#158E2A
RGBrgb(21, 142, 42)
HSLhsl(130, 74%, 32%)
HSVhsv(130, 85%, 56%)
CMYKcmyk(85.2%, 0%, 70.4%, 44.3%)
CIE-LABlab(51.46, -51.65, 42.66)
CIE-LCHlch(51.46, 66.99, 140.44°)
OKLaboklab(56.46% -0.1393 0.098)
OKLCHoklch(56.46% 0.17 144.9)
XYZxyz(10.3994, 19.6713, 5.4389)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E2A #8E1579
analogous
#3D8E15 #158E2A #158E67
triadic
#158E2A #2A158E #8E2A15
tetradic
#158E2A #153D8E #8E1579 #8E6715
square
#158E2A #153D8E #8E1579 #8E6715
split-complementary
#158E2A #67158E #8E153D
monochromatic
#05230A #0D591A #158E2A #1DC33A #3BE258

Accessibility & contrast

On white

4.26
#158E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#158E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158E2A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158E2A#FFFFFF#000000##000000
##158E2A1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801C
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158e2a;
/* rgb */ color: rgb(21, 142, 42);
/* oklch */ color: oklch(56.5% 0.170 144.9);
Tailwind
colors: {
  custom: {
    50: '#6cb069',
    500: '#158e2a',
    950: '#000000',
  },
}
SCSS
$custom: #158e2a;
$custom-light: #6cb069;
$custom-dark: #000000;
JSON
{
  "hex": "#158e2a",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 130.413,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.1703,
    "h": 144.9
  },
  "luminance": 0.19673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #158E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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