#158A1D#158A1D

#158A1D is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.2% C 0.174 H 143.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#158A1D
RGBrgb(21, 138, 29)
HSLhsl(124, 74%, 31%)
HSVhsv(124, 85%, 54%)
CMYKcmyk(84.8%, 0%, 79%, 45.9%)
CIE-LABlab(50.01, -51.50, 46.17)
CIE-LCHlch(50.01, 69.17, 138.13°)
OKLaboklab(55.22% -0.1395 0.1036)
OKLCHoklch(55.22% 0.174 143.4)
XYZxyz(9.6189, 18.4239, 4.2114)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A1D #8A1582
analogous
#478A15 #158A1D #158A57
triadic
#158A1D #1D158A #8A1D15
tetradic
#158A1D #15478A #8A1582 #8A5715
square
#158A1D #15478A #8A1582 #8A5715
split-complementary
#158A1D #57158A #8A1547
monochromatic
#052007 #0D5512 #158A1D #1DBF28 #39E144

Accessibility & contrast

On white

4.48
#158A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#158A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158A1D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158A1D#FFFFFF#000000##000000
##158A1D1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C02
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158a1d;
/* rgb */ color: rgb(21, 138, 29);
/* oklch */ color: oklch(55.2% 0.174 143.4);
Tailwind
colors: {
  custom: {
    50: '#6cad62',
    500: '#158a1d',
    950: '#000000',
  },
}
SCSS
$custom: #158a1d;
$custom-light: #6cad62;
$custom-dark: #000000;
JSON
{
  "hex": "#158a1d",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 124.103,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55221,
    "c": 0.17373,
    "h": 143.4
  },
  "luminance": 0.18425
}

Semantic roles & 50–950 ramp

primary
#158A1D
secondary
#BE3DB5
accent
#38E4F0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #158A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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