#158D2D#158D2D

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

Color values

HEX#158D2D
RGBrgb(21, 141, 45)
HSLhsl(132, 74%, 32%)
HSVhsv(132, 85%, 55%)
CMYKcmyk(85.1%, 0%, 68.1%, 44.7%)
CIE-LABlab(51.15, -51.00, 41.03)
CIE-LCHlch(51.15, 65.46, 141.18°)
OKLaboklab(56.21% -0.1374 0.0949)
OKLCHoklch(56.21% 0.167 145.4)
XYZxyz(10.3070, 19.3974, 5.6830)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D2D #8D1575
analogous
#398D15 #158D2D #158D69
triadic
#158D2D #2D158D #8D2D15
tetradic
#158D2D #15398D #8D1575 #8D6915
square
#158D2D #15398D #8D1575 #8D6915
split-complementary
#158D2D #69158D #8D1539
monochromatic
#05220B #0D581C #158D2D #1DC23E #3BE25C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158D2D#FFFFFF#000000##000000
##158D2D1.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)
#8F7F20
Deuteranopia (green-blind)
#837636
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158d2d;
/* rgb */ color: rgb(21, 141, 45);
/* oklch */ color: oklch(56.2% 0.167 145.4);
Tailwind
colors: {
  custom: {
    50: '#6caf6b',
    500: '#158d2d',
    950: '#000000',
  },
}
SCSS
$custom: #158d2d;
$custom-light: #6caf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#158d2d",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 132,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56209,
    "c": 0.16699,
    "h": 145.4
  },
  "luminance": 0.19399
}

Semantic roles & 50–950 ramp

primary
#158D2D
secondary
#C13DA6
accent
#37CCF1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081107
muted
#7B807A

Preview Lab

Preview with #158D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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