#158E2F#158E2F

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

Color values

HEX#158E2F
RGBrgb(21, 142, 47)
HSLhsl(133, 74%, 32%)
HSVhsv(133, 85%, 56%)
CMYKcmyk(85.2%, 0%, 66.9%, 44.3%)
CIE-LABlab(51.51, -51.11, 40.54)
CIE-LCHlch(51.51, 65.23, 141.58°)
OKLaboklab(56.51% -0.1376 0.0941)
OKLCHoklch(56.51% 0.167 145.6)
XYZxyz(10.4946, 19.7094, 5.9400)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E2F #8E1574
analogous
#378E15 #158E2F #158E6C
triadic
#158E2F #2F158E #8E2F15
tetradic
#158E2F #15378E #8E1574 #8E6C15
square
#158E2F #15378E #8E1574 #8E6C15
split-complementary
#158E2F #6C158E #8E1537
monochromatic
#05230C #0D591D #158E2F #1DC341 #3BE25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158E2F#FFFFFF#000000##000000
##158E2F1.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)
#908023
Deuteranopia (green-blind)
#847738
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158e2f;
/* rgb */ color: rgb(21, 142, 47);
/* oklch */ color: oklch(56.5% 0.167 145.6);
Tailwind
colors: {
  custom: {
    50: '#6cb06c',
    500: '#158e2f',
    950: '#000000',
  },
}
SCSS
$custom: #158e2f;
$custom-light: #6cb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#158e2f",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 132.893,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56513,
    "c": 0.1667,
    "h": 145.6
  },
  "luminance": 0.19711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #158E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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