#158E27#158E27

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

Color values

HEX#158E27
RGBrgb(21, 142, 39)
HSLhsl(129, 74%, 32%)
HSVhsv(129, 85%, 56%)
CMYKcmyk(85.2%, 0%, 72.5%, 44.3%)
CIE-LABlab(51.44, -51.94, 43.87)
CIE-LCHlch(51.44, 67.99, 139.82°)
OKLaboklab(56.44% -0.1402 0.1002)
OKLCHoklch(56.44% 0.172 144.5)
XYZxyz(10.3477, 19.6506, 5.1666)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E27 #8E157C
analogous
#3F8E15 #158E27 #158E64
triadic
#158E27 #27158E #8E2715
tetradic
#158E27 #153F8E #8E157C #8E6415
square
#158E27 #153F8E #8E157C #8E6415
split-complementary
#158E27 #64158E #8E153F
monochromatic
#05230A #0D5918 #158E27 #1DC336 #3BE254

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158E27#FFFFFF#000000##000000
##158E271.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)
#918017
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158e27;
/* rgb */ color: rgb(21, 142, 39);
/* oklch */ color: oklch(56.4% 0.172 144.5);
Tailwind
colors: {
  custom: {
    50: '#6cb067',
    500: '#158e27',
    950: '#000000',
  },
}
SCSS
$custom: #158e27;
$custom-light: #6cb067;
$custom-dark: #000000;
JSON
{
  "hex": "#158e27",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 128.926,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56435,
    "c": 0.1723,
    "h": 144.5
  },
  "luminance": 0.19652
}

Semantic roles & 50–950 ramp

primary
#158E27
secondary
#C23DAE
accent
#37D5F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158E27

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

Preview Lab → · Contrast checker → · Palette generator →

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