#158C27#158C27

#158C27 is a mid, vivid green. Relative luminance 0.191; OKLCH L 55.9% C 0.170 H 144.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#158C27
RGBrgb(21, 140, 39)
HSLhsl(129, 74%, 32%)
HSVhsv(129, 85%, 55%)
CMYKcmyk(85%, 0%, 72.1%, 45.1%)
CIE-LABlab(50.76, -51.29, 43.16)
CIE-LCHlch(50.76, 67.03, 139.92°)
OKLaboklab(55.87% -0.1384 0.0987)
OKLCHoklch(55.87% 0.17 144.5)
XYZxyz(10.0528, 19.0608, 5.0683)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158C27 #8C157A
analogous
#3F8C15 #158C27 #158C63
triadic
#158C27 #27158C #8C2715
tetradic
#158C27 #153F8C #8C157A #8C6315
square
#158C27 #153F8C #8C157A #8C6315
split-complementary
#158C27 #63158C #8C153F
monochromatic
#052209 #0D5718 #158C27 #1DC136 #3AE153

Accessibility & contrast

On white

4.36
#158C27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#158C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158C27
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158C27#FFFFFF#000000##000000
##158C271.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E17
Deuteranopia (green-blind)
#827531
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #158c27;
/* rgb */ color: rgb(21, 140, 39);
/* oklch */ color: oklch(55.9% 0.170 144.5);
Tailwind
colors: {
  custom: {
    50: '#6caf67',
    500: '#158c27',
    950: '#000000',
  },
}
SCSS
$custom: #158c27;
$custom-light: #6caf67;
$custom-dark: #000000;
JSON
{
  "hex": "#158c27",
  "rgb": {
    "r": 21,
    "g": 140,
    "b": 39
  },
  "hsl": {
    "h": 129.076,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55868,
    "c": 0.17,
    "h": 144.5
  },
  "luminance": 0.19062
}

Semantic roles & 50–950 ramp

primary
#158C27
secondary
#C03DAC
accent
#37D5F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158C27

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

Preview Lab → · Contrast checker → · Palette generator →

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