#158E1B#158E1B

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

Color values

HEX#158E1B
RGBrgb(21, 142, 27)
HSLhsl(123, 74%, 32%)
HSVhsv(123, 85%, 56%)
CMYKcmyk(85.2%, 0%, 81%, 44.3%)
CIE-LABlab(51.36, -52.91, 48.14)
CIE-LCHlch(51.36, 71.53, 137.70°)
OKLaboklab(56.35% -0.1434 0.1074)
OKLCHoklch(56.35% 0.179 143.2)
XYZxyz(10.1794, 19.5833, 4.2802)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E1B #8E1588
analogous
#4C8E15 #158E1B #158E58
triadic
#158E1B #1B158E #8E1B15
tetradic
#158E1B #154C8E #8E1588 #8E5815
square
#158E1B #154C8E #8E1588 #8E5815
split-complementary
#158E1B #58158E #8E154C
monochromatic
#052307 #0D5911 #158E1B #1DC325 #3BE244

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158E1B#FFFFFF#000000##000000
##158E1B1.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)
#918000
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158e1b;
/* rgb */ color: rgb(21, 142, 27);
/* oklch */ color: oklch(56.3% 0.179 143.2);
Tailwind
colors: {
  custom: {
    50: '#6db061',
    500: '#158e1b',
    950: '#000000',
  },
}
SCSS
$custom: #158e1b;
$custom-light: #6db061;
$custom-dark: #000000;
JSON
{
  "hex": "#158e1b",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 122.975,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56347,
    "c": 0.17915,
    "h": 143.2
  },
  "luminance": 0.19585
}

Semantic roles & 50–950 ramp

primary
#158E1B
secondary
#C23DBB
accent
#37E8F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #158E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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