#158F28#158F28

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

Color values

HEX#158F28
RGBrgb(21, 143, 40)
HSLhsl(129, 74%, 32%)
HSVhsv(129, 85%, 56%)
CMYKcmyk(85.3%, 0%, 72%, 43.9%)
CIE-LABlab(51.79, -52.17, 43.83)
CIE-LCHlch(51.79, 68.14, 139.97°)
OKLaboklab(56.73% -0.1408 0.1002)
OKLCHoklch(56.73% 0.173 144.6)
XYZxyz(10.5140, 19.9562, 5.3049)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F28 #8F157C
analogous
#3F8F15 #158F28 #158F65
triadic
#158F28 #28158F #8F2815
tetradic
#158F28 #153F8F #8F157C #8F6515
square
#158F28 #153F8F #8F157C #8F6515
split-complementary
#158F28 #65158F #8F153F
monochromatic
#05240A #0D5A19 #158F28 #1DC437 #3CE256

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158F28#FFFFFF#000000##000000
##158F281.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)
#928118
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f28;
/* rgb */ color: rgb(21, 143, 40);
/* oklch */ color: oklch(56.7% 0.173 144.6);
Tailwind
colors: {
  custom: {
    50: '#6cb168',
    500: '#158f28',
    950: '#000000',
  },
}
SCSS
$custom: #158f28;
$custom-light: #6cb168;
$custom-dark: #000000;
JSON
{
  "hex": "#158f28",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 129.344,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56727,
    "c": 0.1728,
    "h": 144.6
  },
  "luminance": 0.19958
}

Semantic roles & 50–950 ramp

primary
#158F28
secondary
#C23EAD
accent
#37D4F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158F28

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

Preview Lab → · Contrast checker → · Palette generator →

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