#158D28#158D28

#158D28 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.170 H 144.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#158D28
RGBrgb(21, 141, 40)
HSLhsl(130, 74%, 32%)
HSVhsv(130, 85%, 55%)
CMYKcmyk(85.1%, 0%, 71.6%, 44.7%)
CIE-LABlab(51.11, -51.52, 43.11)
CIE-LCHlch(51.11, 67.18, 140.08°)
OKLaboklab(56.16% -0.139 0.0987)
OKLCHoklch(56.16% 0.17 144.6)
XYZxyz(10.2164, 19.3611, 5.2057)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D28 #8D157A
analogous
#3E8D15 #158D28 #158D64
triadic
#158D28 #28158D #8D2815
tetradic
#158D28 #153E8D #8D157A #8D6415
square
#158D28 #153E8D #8D157A #8D6415
split-complementary
#158D28 #64158D #8D153E
monochromatic
#05220A #0D5819 #158D28 #1DC237 #3BE255

Accessibility & contrast

On white

4.31
#158D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#158D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158D28
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158D28#FFFFFF#000000##000000
##158D281.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F19
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158d28;
/* rgb */ color: rgb(21, 141, 40);
/* oklch */ color: oklch(56.2% 0.170 144.6);
Tailwind
colors: {
  custom: {
    50: '#6cb068',
    500: '#158d28',
    950: '#000000',
  },
}
SCSS
$custom: #158d28;
$custom-light: #6cb068;
$custom-dark: #000000;
JSON
{
  "hex": "#158d28",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 129.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56161,
    "c": 0.17049,
    "h": 144.6
  },
  "luminance": 0.19362
}

Semantic roles & 50–950 ramp

primary
#158D28
secondary
#C13DAC
accent
#37D3F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158D28

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

Preview Lab → · Contrast checker → · Palette generator →

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