#158B1D#158B1D

#158B1D is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.5% C 0.175 H 143.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#158B1D
RGBrgb(21, 139, 29)
HSLhsl(124, 74%, 31%)
HSVhsv(124, 85%, 55%)
CMYKcmyk(84.9%, 0%, 79.1%, 45.5%)
CIE-LABlab(50.35, -51.82, 46.50)
CIE-LCHlch(50.35, 69.63, 138.10°)
OKLaboklab(55.51% -0.1403 0.1043)
OKLCHoklch(55.51% 0.175 143.4)
XYZxyz(9.7630, 18.7122, 4.2594)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158B1D #8B1583
analogous
#488B15 #158B1D #158B58
triadic
#158B1D #1D158B #8B1D15
tetradic
#158B1D #15488B #8B1583 #8B5815
square
#158B1D #15488B #8B1583 #8B5815
split-complementary
#158B1D #58158B #8B1548
monochromatic
#052107 #0D5612 #158B1D #1DC028 #39E145

Accessibility & contrast

On white

4.43
#158B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#158B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158B1D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158B1D#FFFFFF#000000##000000
##158B1D1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D02
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #158b1d;
/* rgb */ color: rgb(21, 139, 29);
/* oklch */ color: oklch(55.5% 0.175 143.4);
Tailwind
colors: {
  custom: {
    50: '#6cae62',
    500: '#158b1d',
    950: '#000000',
  },
}
SCSS
$custom: #158b1d;
$custom-light: #6cae62;
$custom-dark: #000000;
JSON
{
  "hex": "#158b1d",
  "rgb": {
    "r": 21,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 124.068,
    "s": 73.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55506,
    "c": 0.17483,
    "h": 143.4
  },
  "luminance": 0.18713
}

Semantic roles & 50–950 ramp

primary
#158B1D
secondary
#BF3DB6
accent
#37E4F0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #158B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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