#158D1C#158D1C

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

Color values

HEX#158D1C
RGBrgb(21, 141, 28)
HSLhsl(124, 74%, 32%)
HSVhsv(124, 85%, 55%)
CMYKcmyk(85.1%, 0%, 80.1%, 44.7%)
CIE-LABlab(51.03, -52.53, 47.49)
CIE-LCHlch(51.03, 70.82, 137.88°)
OKLaboklab(56.07% -0.1423 0.1062)
OKLCHoklch(56.07% 0.178 143.3)
XYZxyz(10.0431, 19.2918, 4.2928)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D1C #8D1586
analogous
#4A8D15 #158D1C #158D58
triadic
#158D1C #1C158D #8D1C15
tetradic
#158D1C #154A8D #8D1586 #8D5815
square
#158D1C #154A8D #8D1586 #8D5815
split-complementary
#158D1C #58158D #8D154A
monochromatic
#052207 #0D5811 #158D1C #1DC227 #3BE244

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158D1C#FFFFFF#000000##000000
##158D1C1.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)
#847629
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158d1c;
/* rgb */ color: rgb(21, 141, 28);
/* oklch */ color: oklch(56.1% 0.178 143.3);
Tailwind
colors: {
  custom: {
    50: '#6db062',
    500: '#158d1c',
    950: '#000000',
  },
}
SCSS
$custom: #158d1c;
$custom-light: #6db062;
$custom-dark: #000000;
JSON
{
  "hex": "#158d1c",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 123.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56069,
    "c": 0.17756,
    "h": 143.3
  },
  "luminance": 0.19293
}

Semantic roles & 50–950 ramp

primary
#158D1C
secondary
#C13DB9
accent
#37E6F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081105
muted
#7B807A

Preview Lab

Preview with #158D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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