#158A1E#158A1E

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

Color values

HEX#158A1E
RGBrgb(21, 138, 30)
HSLhsl(125, 74%, 31%)
HSVhsv(125, 85%, 54%)
CMYKcmyk(84.8%, 0%, 78.3%, 45.9%)
CIE-LABlab(50.01, -51.43, 45.82)
CIE-LCHlch(50.01, 68.88, 138.30°)
OKLaboklab(55.23% -0.1392 0.103)
OKLCHoklch(55.23% 0.173 143.5)
XYZxyz(9.6314, 18.4289, 4.2776)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A1E #8A1581
analogous
#468A15 #158A1E #158A58
triadic
#158A1E #1E158A #8A1E15
tetradic
#158A1E #15468A #8A1581 #8A5815
square
#158A1E #15468A #8A1581 #8A5815
split-complementary
#158A1E #58158A #8A1546
monochromatic
#052007 #0D5512 #158A1E #1DBF2A #39E146

Accessibility & contrast

On white

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

On black

4.69
#158A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158A1E
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158A1E#FFFFFF#000000##000000
##158A1E1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #158a1e;
/* rgb */ color: rgb(21, 138, 30);
/* oklch */ color: oklch(55.2% 0.173 143.5);
Tailwind
colors: {
  custom: {
    50: '#6cad62',
    500: '#158a1e',
    950: '#000000',
  },
}
SCSS
$custom: #158a1e;
$custom-light: #6cad62;
$custom-dark: #000000;
JSON
{
  "hex": "#158a1e",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 124.615,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55228,
    "c": 0.17319,
    "h": 143.5
  },
  "luminance": 0.1843
}

Semantic roles & 50–950 ramp

primary
#158A1E
secondary
#BE3DB4
accent
#38E2F0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #158A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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