#158E28#158E28

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

Color values

HEX#158E28
RGBrgb(21, 142, 40)
HSLhsl(129, 74%, 32%)
HSVhsv(129, 85%, 56%)
CMYKcmyk(85.2%, 0%, 71.8%, 44.3%)
CIE-LABlab(51.45, -51.85, 43.47)
CIE-LCHlch(51.45, 67.66, 140.02°)
OKLaboklab(56.44% -0.1399 0.0995)
OKLCHoklch(56.44% 0.172 144.6)
XYZxyz(10.3645, 19.6573, 5.2551)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E28 #8E157B
analogous
#3F8E15 #158E28 #158E64
triadic
#158E28 #28158E #8E2815
tetradic
#158E28 #153F8E #8E157B #8E6415
square
#158E28 #153F8E #8E157B #8E6415
split-complementary
#158E28 #64158E #8E153F
monochromatic
#05230A #0D5919 #158E28 #1DC337 #3BE256

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158E28#FFFFFF#000000##000000
##158E281.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)
#918018
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158e28;
/* rgb */ color: rgb(21, 142, 40);
/* oklch */ color: oklch(56.4% 0.172 144.6);
Tailwind
colors: {
  custom: {
    50: '#6cb068',
    500: '#158e28',
    950: '#000000',
  },
}
SCSS
$custom: #158e28;
$custom-light: #6cb068;
$custom-dark: #000000;
JSON
{
  "hex": "#158e28",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 129.421,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56444,
    "c": 0.17165,
    "h": 144.6
  },
  "luminance": 0.19659
}

Semantic roles & 50–950 ramp

primary
#158E28
secondary
#C23DAD
accent
#37D4F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158E28

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

Preview Lab → · Contrast checker → · Palette generator →

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