#158D1F#158D1F

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

Color values

HEX#158D1F
RGBrgb(21, 141, 31)
HSLhsl(125, 74%, 32%)
HSVhsv(125, 85%, 55%)
CMYKcmyk(85.1%, 0%, 78%, 44.7%)
CIE-LABlab(51.04, -52.31, 46.49)
CIE-LCHlch(51.04, 69.98, 138.37°)
OKLaboklab(56.09% -0.1415 0.1046)
OKLCHoklch(56.09% 0.176 143.6)
XYZxyz(10.0808, 19.3069, 4.4914)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D1F #8D1583
analogous
#478D15 #158D1F #158D5B
triadic
#158D1F #1F158D #8D1F15
tetradic
#158D1F #15478D #8D1583 #8D5B15
square
#158D1F #15478D #8D1583 #8D5B15
split-complementary
#158D1F #5B158D #8D1547
monochromatic
#052208 #0D5813 #158D1F #1DC22B #3BE249

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158D1F#FFFFFF#000000##000000
##158D1F1.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)
#907F05
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158d1f;
/* rgb */ color: rgb(21, 141, 31);
/* oklch */ color: oklch(56.1% 0.176 143.6);
Tailwind
colors: {
  custom: {
    50: '#6cb063',
    500: '#158d1f',
    950: '#000000',
  },
}
SCSS
$custom: #158d1f;
$custom-light: #6cb063;
$custom-dark: #000000;
JSON
{
  "hex": "#158d1f",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 125,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56089,
    "c": 0.17597,
    "h": 143.6
  },
  "luminance": 0.19308
}

Semantic roles & 50–950 ramp

primary
#158D1F
secondary
#C13DB6
accent
#37E1F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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