#158F1D#158F1D

#158F1D is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.6% C 0.179 H 143.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#158F1D
RGBrgb(21, 143, 29)
HSLhsl(124, 74%, 32%)
HSVhsv(124, 85%, 56%)
CMYKcmyk(85.3%, 0%, 79.7%, 43.9%)
CIE-LABlab(51.71, -53.09, 47.83)
CIE-LCHlch(51.71, 71.45, 137.98°)
OKLaboklab(56.64% -0.1438 0.1071)
OKLCHoklch(56.64% 0.179 143.3)
XYZxyz(10.3528, 19.8918, 4.4560)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F1D #8F1587
analogous
#4A8F15 #158F1D #158F5A
triadic
#158F1D #1D158F #8F1D15
tetradic
#158F1D #154A8F #8F1587 #8F5A15
square
#158F1D #154A8F #8F1587 #8F5A15
split-complementary
#158F1D #5A158F #8F154A
monochromatic
#052407 #0D5A12 #158F1D #1DC428 #3CE247

Accessibility & contrast

On white

4.22
#158F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#158F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F1D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F1D#FFFFFF#000000##000000
##158F1D1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#85782A
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f1d;
/* rgb */ color: rgb(21, 143, 29);
/* oklch */ color: oklch(56.6% 0.179 143.3);
Tailwind
colors: {
  custom: {
    50: '#6db162',
    500: '#158f1d',
    950: '#000000',
  },
}
SCSS
$custom: #158f1d;
$custom-light: #6db162;
$custom-dark: #000000;
JSON
{
  "hex": "#158f1d",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 123.934,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56643,
    "c": 0.17925,
    "h": 143.3
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#158F1D
secondary
#C23EB9
accent
#37E5F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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