#158E24#158E24

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

Color values

HEX#158E24
RGBrgb(21, 142, 36)
HSLhsl(127, 74%, 32%)
HSVhsv(127, 85%, 56%)
CMYKcmyk(85.2%, 0%, 74.6%, 44.3%)
CIE-LABlab(51.42, -52.21, 45.03)
CIE-LCHlch(51.42, 68.95, 139.23°)
OKLaboklab(56.41% -0.1411 0.1022)
OKLCHoklch(56.41% 0.174 144.1)
XYZxyz(10.3000, 19.6315, 4.9151)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E24 #8E157F
analogous
#438E15 #158E24 #158E61
triadic
#158E24 #24158E #8E2415
tetradic
#158E24 #15438E #8E157F #8E6115
square
#158E24 #15438E #8E157F #8E6115
split-complementary
#158E24 #61158E #8E1543
monochromatic
#052309 #0D5916 #158E24 #1DC332 #3BE250

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158E24#FFFFFF#000000##000000
##158E241.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)
#918011
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158e24;
/* rgb */ color: rgb(21, 142, 36);
/* oklch */ color: oklch(56.4% 0.174 144.1);
Tailwind
colors: {
  custom: {
    50: '#6cb066',
    500: '#158e24',
    950: '#000000',
  },
}
SCSS
$custom: #158e24;
$custom-light: #6cb066;
$custom-dark: #000000;
JSON
{
  "hex": "#158e24",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 127.438,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5641,
    "c": 0.1742,
    "h": 144.1
  },
  "luminance": 0.19633
}

Semantic roles & 50–950 ramp

primary
#158E24
secondary
#C23DB1
accent
#37DAF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158E24

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

Preview Lab → · Contrast checker → · Palette generator →

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