#158E1A#158E1A

#158E1A is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.3% C 0.180 H 143.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#158E1A
RGBrgb(21, 142, 26)
HSLhsl(122, 74%, 32%)
HSVhsv(122, 85%, 56%)
CMYKcmyk(85.2%, 0%, 81.7%, 44.3%)
CIE-LABlab(51.36, -52.98, 48.45)
CIE-LCHlch(51.36, 71.79, 137.56°)
OKLaboklab(56.34% -0.1436 0.1079)
OKLCHoklch(56.34% 0.18 143.1)
XYZxyz(10.1680, 19.5787, 4.2203)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E1A #8E1589
analogous
#4D8E15 #158E1A #158E56
triadic
#158E1A #1A158E #8E1A15
tetradic
#158E1A #154D8E #8E1589 #8E5615
square
#158E1A #154D8E #8E1589 #8E5615
split-complementary
#158E1A #56158E #8E154D
monochromatic
#052306 #0D5910 #158E1A #1DC324 #3BE242

Accessibility & contrast

On white

4.27
#158E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#158E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158E1A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158E1A#FFFFFF#000000##000000
##158E1A1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158e1a;
/* rgb */ color: rgb(21, 142, 26);
/* oklch */ color: oklch(56.3% 0.180 143.1);
Tailwind
colors: {
  custom: {
    50: '#6db061',
    500: '#158e1a',
    950: '#000000',
  },
}
SCSS
$custom: #158e1a;
$custom-light: #6db061;
$custom-dark: #000000;
JSON
{
  "hex": "#158e1a",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 122.479,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56341,
    "c": 0.17963,
    "h": 143.1
  },
  "luminance": 0.1958
}

Semantic roles & 50–950 ramp

primary
#158E1A
secondary
#C23DBC
accent
#37E9F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #158E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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