#158D1D#158D1D

#158D1D is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.177 H 143.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#158D1D
RGBrgb(21, 141, 29)
HSLhsl(124, 74%, 32%)
HSVhsv(124, 85%, 55%)
CMYKcmyk(85.1%, 0%, 79.4%, 44.7%)
CIE-LABlab(51.03, -52.46, 47.17)
CIE-LCHlch(51.03, 70.54, 138.04°)
OKLaboklab(56.08% -0.142 0.1057)
OKLCHoklch(56.08% 0.177 143.4)
XYZxyz(10.0552, 19.2966, 4.3568)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D1D #8D1585
analogous
#498D15 #158D1D #158D59
triadic
#158D1D #1D158D #8D1D15
tetradic
#158D1D #15498D #8D1585 #8D5915
square
#158D1D #15498D #8D1585 #8D5915
split-complementary
#158D1D #59158D #8D1549
monochromatic
#052207 #0D5812 #158D1D #1DC228 #3BE246

Accessibility & contrast

On white

4.32
#158D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#158D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158D1D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158D1D#FFFFFF#000000##000000
##158D1D1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#84762A
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158d1d;
/* rgb */ color: rgb(21, 141, 29);
/* oklch */ color: oklch(56.1% 0.177 143.4);
Tailwind
colors: {
  custom: {
    50: '#6cb062',
    500: '#158d1d',
    950: '#000000',
  },
}
SCSS
$custom: #158d1d;
$custom-light: #6cb062;
$custom-dark: #000000;
JSON
{
  "hex": "#158d1d",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 124,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56075,
    "c": 0.17705,
    "h": 143.4
  },
  "luminance": 0.19298
}

Semantic roles & 50–950 ramp

primary
#158D1D
secondary
#C13DB8
accent
#37E4F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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