#158D2F#158D2F

#158D2F is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.166 H 145.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#158D2F
RGBrgb(21, 141, 47)
HSLhsl(133, 74%, 32%)
HSVhsv(133, 85%, 55%)
CMYKcmyk(85.1%, 0%, 66.7%, 44.7%)
CIE-LABlab(51.17, -50.78, 40.16)
CIE-LCHlch(51.17, 64.74, 141.66°)
OKLaboklab(56.23% -0.1367 0.0933)
OKLCHoklch(56.23% 0.166 145.7)
XYZxyz(10.3465, 19.4131, 5.8906)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D2F #8D1573
analogous
#378D15 #158D2F #158D6B
triadic
#158D2F #2F158D #8D2F15
tetradic
#158D2F #15378D #8D1573 #8D6B15
square
#158D2F #15378D #8D1573 #8D6B15
split-complementary
#158D2F #6B158D #8D1537
monochromatic
#05220B #0D581D #158D2F #1DC241 #3BE25F

Accessibility & contrast

On white

4.30
#158D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#158D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158D2F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158D2F#FFFFFF#000000##000000
##158D2F1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#837638
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158d2f;
/* rgb */ color: rgb(21, 141, 47);
/* oklch */ color: oklch(56.2% 0.166 145.7);
Tailwind
colors: {
  custom: {
    50: '#6caf6c',
    500: '#158d2f',
    950: '#000000',
  },
}
SCSS
$custom: #158d2f;
$custom-light: #6caf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#158d2f",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 133,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5623,
    "c": 0.16551,
    "h": 145.7
  },
  "luminance": 0.19414
}

Semantic roles & 50–950 ramp

primary
#158D2F
secondary
#C13DA4
accent
#37C8F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081107
muted
#7B807A

Preview Lab

Preview with #158D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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