#158F17#158F17

#158F17 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.6% C 0.182 H 142.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#158F17
RGBrgb(21, 143, 23)
HSLhsl(121, 74%, 32%)
HSVhsv(121, 85%, 56%)
CMYKcmyk(85.3%, 0%, 83.9%, 43.9%)
CIE-LABlab(51.68, -53.47, 49.65)
CIE-LCHlch(51.68, 72.97, 137.12°)
OKLaboklab(56.61% -0.1451 0.11)
OKLCHoklch(56.61% 0.182 142.8)
XYZxyz(10.2857, 19.8649, 4.1027)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F17 #8F158D
analogous
#508F15 #158F17 #158F54
triadic
#158F17 #17158F #8F1715
tetradic
#158F17 #15508F #8F158D #8F5415
square
#158F17 #15508F #8F158D #8F5415
split-complementary
#158F17 #54158F #8F1550
monochromatic
#052406 #0D5A0E #158F17 #1DC420 #3CE23F

Accessibility & contrast

On white

4.22
#158F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#158F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F17
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F17#FFFFFF#000000##000000
##158F171.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f17;
/* rgb */ color: rgb(21, 143, 23);
/* oklch */ color: oklch(56.6% 0.182 142.8);
Tailwind
colors: {
  custom: {
    50: '#6db160',
    500: '#158f17',
    950: '#000000',
  },
}
SCSS
$custom: #158f17;
$custom-light: #6db160;
$custom-dark: #000000;
JSON
{
  "hex": "#158f17",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 120.984,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56608,
    "c": 0.18205,
    "h": 142.8
  },
  "luminance": 0.19866
}

Semantic roles & 50–950 ramp

primary
#158F17
secondary
#C23EC0
accent
#37EEF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #158F17

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

Preview Lab → · Contrast checker → · Palette generator →

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