#158C28#158C28

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

Color values

HEX#158C28
RGBrgb(21, 140, 40)
HSLhsl(130, 74%, 32%)
HSVhsv(130, 85%, 55%)
CMYKcmyk(85%, 0%, 71.4%, 45.1%)
CIE-LABlab(50.77, -51.20, 42.75)
CIE-LCHlch(50.77, 66.70, 140.14°)
OKLaboklab(55.88% -0.1381 0.0979)
OKLCHoklch(55.88% 0.169 144.7)
XYZxyz(10.0696, 19.0675, 5.1568)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158C28 #8C1579
analogous
#3E8C15 #158C28 #158C64
triadic
#158C28 #28158C #8C2815
tetradic
#158C28 #153E8C #8C1579 #8C6415
square
#158C28 #153E8C #8C1579 #8C6415
split-complementary
#158C28 #64158C #8C153E
monochromatic
#05220A #0D5719 #158C28 #1DC137 #3AE155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158C28#FFFFFF#000000##000000
##158C281.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)
#8F7E19
Deuteranopia (green-blind)
#827532
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #158c28;
/* rgb */ color: rgb(21, 140, 40);
/* oklch */ color: oklch(55.9% 0.169 144.7);
Tailwind
colors: {
  custom: {
    50: '#6caf68',
    500: '#158c28',
    950: '#000000',
  },
}
SCSS
$custom: #158c28;
$custom-light: #6caf68;
$custom-dark: #000000;
JSON
{
  "hex": "#158c28",
  "rgb": {
    "r": 21,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 129.58,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55877,
    "c": 0.16933,
    "h": 144.7
  },
  "luminance": 0.19069
}

Semantic roles & 50–950 ramp

primary
#158C28
secondary
#C03DAB
accent
#37D3F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158C28

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

Preview Lab → · Contrast checker → · Palette generator →

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