#158D17#158D17

#158D17 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.0% C 0.180 H 142.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#158D17
RGBrgb(21, 141, 23)
HSLhsl(121, 74%, 32%)
HSVhsv(121, 85%, 55%)
CMYKcmyk(85.1%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.00, -52.85, 49.01)
CIE-LCHlch(51.00, 72.08, 137.16°)
OKLaboklab(56.04% -0.1434 0.1087)
OKLCHoklch(56.04% 0.18 142.8)
XYZxyz(9.9881, 19.2698, 4.0035)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D17 #8D158B
analogous
#4F8D15 #158D17 #158D53
triadic
#158D17 #17158D #8D1715
tetradic
#158D17 #154F8D #8D158B #8D5315
square
#158D17 #154F8D #8D158B #8D5315
split-complementary
#158D17 #53158D #8D154F
monochromatic
#052206 #0D580E #158D17 #1DC220 #3BE23D

Accessibility & contrast

On white

4.33
#158D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#158D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158D17
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158D17#FFFFFF#000000##000000
##158D171.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #158d17;
/* rgb */ color: rgb(21, 141, 23);
/* oklch */ color: oklch(56.0% 0.180 142.8);
Tailwind
colors: {
  custom: {
    50: '#6db060',
    500: '#158d17',
    950: '#000000',
  },
}
SCSS
$custom: #158d17;
$custom-light: #6db060;
$custom-dark: #000000;
JSON
{
  "hex": "#158d17",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 121,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56039,
    "c": 0.1799,
    "h": 142.8
  },
  "luminance": 0.19271
}

Semantic roles & 50–950 ramp

primary
#158D17
secondary
#C13DBF
accent
#37EEF1
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081105
muted
#7B8079

Preview Lab

Preview with #158D17

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

Preview Lab → · Contrast checker → · Palette generator →

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