#158D2E#158D2E

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

Color values

HEX#158D2E
RGBrgb(21, 141, 46)
HSLhsl(133, 74%, 32%)
HSVhsv(133, 85%, 55%)
CMYKcmyk(85.1%, 0%, 67.4%, 44.7%)
CIE-LABlab(51.16, -50.89, 40.60)
CIE-LCHlch(51.16, 65.10, 141.42°)
OKLaboklab(56.22% -0.1371 0.0941)
OKLCHoklch(56.22% 0.166 145.5)
XYZxyz(10.3265, 19.4052, 5.7856)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D2E #8D1574
analogous
#388D15 #158D2E #158D6A
triadic
#158D2E #2E158D #8D2E15
tetradic
#158D2E #15388D #8D1574 #8D6A15
square
#158D2E #15388D #8D1574 #8D6A15
split-complementary
#158D2E #6A158D #8D1538
monochromatic
#05220B #0D581D #158D2E #1DC23F #3BE25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158D2E#FFFFFF#000000##000000
##158D2E1.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)
#8F7F22
Deuteranopia (green-blind)
#837637
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158d2e;
/* rgb */ color: rgb(21, 141, 46);
/* oklch */ color: oklch(56.2% 0.166 145.5);
Tailwind
colors: {
  custom: {
    50: '#6caf6b',
    500: '#158d2e',
    950: '#000000',
  },
}
SCSS
$custom: #158d2e;
$custom-light: #6caf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#158d2e",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 132.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5622,
    "c": 0.16626,
    "h": 145.5
  },
  "luminance": 0.19406
}

Semantic roles & 50–950 ramp

primary
#158D2E
secondary
#C13DA5
accent
#37CAF1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081107
muted
#7B807A

Preview Lab

Preview with #158D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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