#158E1F#158E1F

#158E1F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.177 H 143.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#158E1F
RGBrgb(21, 142, 31)
HSLhsl(125, 74%, 32%)
HSVhsv(125, 85%, 56%)
CMYKcmyk(85.2%, 0%, 78.2%, 44.3%)
CIE-LABlab(51.39, -52.62, 46.83)
CIE-LCHlch(51.39, 70.44, 138.34°)
OKLaboklab(56.37% -0.1424 0.1053)
OKLCHoklch(56.37% 0.177 143.5)
XYZxyz(10.2289, 19.6031, 4.5407)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E1F #8E1584
analogous
#478E15 #158E1F #158E5C
triadic
#158E1F #1F158E #8E1F15
tetradic
#158E1F #15478E #8E1584 #8E5C15
square
#158E1F #15478E #8E1584 #8E5C15
split-complementary
#158E1F #5C158E #8E1547
monochromatic
#052308 #0D5913 #158E1F #1DC32B #3BE249

Accessibility & contrast

On white

4.27
#158E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#158E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158E1F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158E1F#FFFFFF#000000##000000
##158E1F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158e1f;
/* rgb */ color: rgb(21, 142, 31);
/* oklch */ color: oklch(56.4% 0.177 143.5);
Tailwind
colors: {
  custom: {
    50: '#6db063',
    500: '#158e1f',
    950: '#000000',
  },
}
SCSS
$custom: #158e1f;
$custom-light: #6db063;
$custom-dark: #000000;
JSON
{
  "hex": "#158e1f",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 124.959,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56373,
    "c": 0.17709,
    "h": 143.5
  },
  "luminance": 0.19604
}

Semantic roles & 50–950 ramp

primary
#158E1F
secondary
#C23DB7
accent
#37E2F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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