#158D1A#158D1A

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

Color values

HEX#158D1A
RGBrgb(21, 141, 26)
HSLhsl(123, 74%, 32%)
HSVhsv(123, 85%, 55%)
CMYKcmyk(85.1%, 0%, 81.6%, 44.7%)
CIE-LABlab(51.02, -52.66, 48.13)
CIE-LCHlch(51.02, 71.34, 137.58°)
OKLaboklab(56.06% -0.1427 0.1073)
OKLCHoklch(56.06% 0.179 143.1)
XYZxyz(10.0199, 19.2825, 4.1709)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D1A #8D1588
analogous
#4C8D15 #158D1A #158D56
triadic
#158D1A #1A158D #8D1A15
tetradic
#158D1A #154C8D #8D1588 #8D5615
square
#158D1A #154C8D #8D1588 #8D5615
split-complementary
#158D1A #56158D #8D154C
monochromatic
#052206 #0D5810 #158D1A #1DC224 #3BE242

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158D1A#FFFFFF#000000##000000
##158D1A1.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)
#847628
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #158d1a;
/* rgb */ color: rgb(21, 141, 26);
/* oklch */ color: oklch(56.1% 0.179 143.1);
Tailwind
colors: {
  custom: {
    50: '#6db061',
    500: '#158d1a',
    950: '#000000',
  },
}
SCSS
$custom: #158d1a;
$custom-light: #6db061;
$custom-dark: #000000;
JSON
{
  "hex": "#158d1a",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 122.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56056,
    "c": 0.17854,
    "h": 143.1
  },
  "luminance": 0.19284
}

Semantic roles & 50–950 ramp

primary
#158D1A
secondary
#C13DBB
accent
#37E9F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081105
muted
#7B807A

Preview Lab

Preview with #158D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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