#158F22#158F22

#158F22 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.177 H 143.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#158F22
RGBrgb(21, 143, 34)
HSLhsl(126, 74%, 32%)
HSVhsv(126, 85%, 56%)
CMYKcmyk(85.3%, 0%, 76.2%, 43.9%)
CIE-LABlab(51.74, -52.70, 46.11)
CIE-LCHlch(51.74, 70.03, 138.82°)
OKLaboklab(56.68% -0.1425 0.1042)
OKLCHoklch(56.68% 0.177 143.8)
XYZxyz(10.4197, 19.9185, 4.8086)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F22 #8F1582
analogous
#458F15 #158F22 #158F5F
triadic
#158F22 #22158F #8F2215
tetradic
#158F22 #15458F #8F1582 #8F5F15
square
#158F22 #15458F #8F1582 #8F5F15
split-complementary
#158F22 #5F158F #8F1545
monochromatic
#052409 #0D5A15 #158F22 #1DC42F #3CE24E

Accessibility & contrast

On white

4.21
#158F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#158F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F22
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F22#FFFFFF#000000##000000
##158F221.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f22;
/* rgb */ color: rgb(21, 143, 34);
/* oklch */ color: oklch(56.7% 0.177 143.8);
Tailwind
colors: {
  custom: {
    50: '#6db165',
    500: '#158f22',
    950: '#000000',
  },
}
SCSS
$custom: #158f22;
$custom-light: #6db165;
$custom-dark: #000000;
JSON
{
  "hex": "#158f22",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 126.393,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56678,
    "c": 0.17652,
    "h": 143.8
  },
  "luminance": 0.1992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #158F22

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

Preview Lab → · Contrast checker → · Palette generator →

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