#158F27#158F27

#158F27 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.7% C 0.173 H 144.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#158F27
RGBrgb(21, 143, 39)
HSLhsl(129, 74%, 32%)
HSVhsv(129, 85%, 56%)
CMYKcmyk(85.3%, 0%, 72.7%, 43.9%)
CIE-LABlab(51.78, -52.26, 44.22)
CIE-LCHlch(51.78, 68.46, 139.76°)
OKLaboklab(56.72% -0.1411 0.1009)
OKLCHoklch(56.72% 0.173 144.4)
XYZxyz(10.4972, 19.9495, 5.2165)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F27 #8F157D
analogous
#408F15 #158F27 #158F64
triadic
#158F27 #27158F #8F2715
tetradic
#158F27 #15408F #8F157D #8F6415
square
#158F27 #15408F #8F157D #8F6415
split-complementary
#158F27 #64158F #8F1540
monochromatic
#05240A #0D5A18 #158F27 #1DC436 #3CE255

Accessibility & contrast

On white

4.21
#158F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#158F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F27
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F27#FFFFFF#000000##000000
##158F271.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f27;
/* rgb */ color: rgb(21, 143, 39);
/* oklch */ color: oklch(56.7% 0.173 144.4);
Tailwind
colors: {
  custom: {
    50: '#6db167',
    500: '#158f27',
    950: '#000000',
  },
}
SCSS
$custom: #158f27;
$custom-light: #6db167;
$custom-dark: #000000;
JSON
{
  "hex": "#158f27",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 128.852,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56718,
    "c": 0.17345,
    "h": 144.4
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

primary
#158F27
secondary
#C23EAF
accent
#37D6F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158F27

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

Preview Lab → · Contrast checker → · Palette generator →

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