#158E22#158E22

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

Color values

HEX#158E22
RGBrgb(21, 142, 34)
HSLhsl(126, 74%, 32%)
HSVhsv(126, 85%, 56%)
CMYKcmyk(85.2%, 0%, 76.1%, 44.3%)
CIE-LABlab(51.40, -52.39, 45.77)
CIE-LCHlch(51.40, 69.56, 138.86°)
OKLaboklab(56.4% -0.1416 0.1035)
OKLCHoklch(56.4% 0.175 143.9)
XYZxyz(10.2703, 19.6196, 4.7588)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E22 #8E1581
analogous
#458E15 #158E22 #158E5F
triadic
#158E22 #22158E #8E2215
tetradic
#158E22 #15458E #8E1581 #8E5F15
square
#158E22 #15458E #8E1581 #8E5F15
split-complementary
#158E22 #5F158E #8E1545
monochromatic
#052308 #0D5915 #158E22 #1DC32F #3BE24D

Accessibility & contrast

On white

4.26
#158E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##158E22#FFFFFF#000000##000000
##158E221.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800C
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158e22;
/* rgb */ color: rgb(21, 142, 34);
/* oklch */ color: oklch(56.4% 0.175 143.9);
Tailwind
colors: {
  custom: {
    50: '#6cb065',
    500: '#158e22',
    950: '#000000',
  },
}
SCSS
$custom: #158e22;
$custom-light: #6cb065;
$custom-dark: #000000;
JSON
{
  "hex": "#158e22",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 126.446,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56395,
    "c": 0.1754,
    "h": 143.9
  },
  "luminance": 0.19621
}

Semantic roles & 50–950 ramp

primary
#158E22
secondary
#C23DB3
accent
#37DDF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158E22

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

Preview Lab → · Contrast checker → · Palette generator →

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