#158E2B#158E2B

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

Color values

HEX#158E2B
RGBrgb(21, 142, 43)
HSLhsl(131, 74%, 32%)
HSVhsv(131, 85%, 56%)
CMYKcmyk(85.2%, 0%, 69.7%, 44.3%)
CIE-LABlab(51.47, -51.54, 42.25)
CIE-LCHlch(51.47, 66.64, 140.66°)
OKLaboklab(56.47% -0.139 0.0972)
OKLCHoklch(56.47% 0.17 145)
XYZxyz(10.4176, 19.6786, 5.5343)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E2B #8E1578
analogous
#3C8E15 #158E2B #158E68
triadic
#158E2B #2B158E #8E2B15
tetradic
#158E2B #153C8E #8E1578 #8E6815
square
#158E2B #153C8E #8E1578 #8E6815
split-complementary
#158E2B #68158E #8E153C
monochromatic
#05230B #0D591B #158E2B #1DC33B #3BE25A

Accessibility & contrast

On white

4.25
#158E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#158E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158E2B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158E2B#FFFFFF#000000##000000
##158E2B1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #158e2b;
/* rgb */ color: rgb(21, 142, 43);
/* oklch */ color: oklch(56.5% 0.170 145.0);
Tailwind
colors: {
  custom: {
    50: '#6cb06a',
    500: '#158e2b',
    950: '#000000',
  },
}
SCSS
$custom: #158e2b;
$custom-light: #6cb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#158e2b",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 130.909,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56472,
    "c": 0.1696,
    "h": 145
  },
  "luminance": 0.1968
}

Semantic roles & 50–950 ramp

primary
#158E2B
secondary
#C23DAA
accent
#37CFF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #158E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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