#158D27#158D27

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

Color values

HEX#158D27
RGBrgb(21, 141, 39)
HSLhsl(129, 74%, 32%)
HSVhsv(129, 85%, 55%)
CMYKcmyk(85.1%, 0%, 72.3%, 44.7%)
CIE-LABlab(51.10, -51.62, 43.51)
CIE-LCHlch(51.10, 67.51, 139.87°)
OKLaboklab(56.15% -0.1393 0.0994)
OKLCHoklch(56.15% 0.171 144.5)
XYZxyz(10.1996, 19.3544, 5.1173)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D27 #8D157B
analogous
#3F8D15 #158D27 #158D63
triadic
#158D27 #27158D #8D2715
tetradic
#158D27 #153F8D #8D157B #8D6315
square
#158D27 #153F8D #8D157B #8D6315
split-complementary
#158D27 #63158D #8D153F
monochromatic
#05220A #0D5818 #158D27 #1DC236 #3BE254

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158D27#FFFFFF#000000##000000
##158D271.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)
#907F17
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158d27;
/* rgb */ color: rgb(21, 141, 39);
/* oklch */ color: oklch(56.2% 0.171 144.5);
Tailwind
colors: {
  custom: {
    50: '#6cb067',
    500: '#158d27',
    950: '#000000',
  },
}
SCSS
$custom: #158d27;
$custom-light: #6cb067;
$custom-dark: #000000;
JSON
{
  "hex": "#158d27",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 129,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56152,
    "c": 0.17116,
    "h": 144.5
  },
  "luminance": 0.19356
}

Semantic roles & 50–950 ramp

primary
#158D27
secondary
#C13DAD
accent
#37D5F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158D27

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

Preview Lab → · Contrast checker → · Palette generator →

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