#158A22#158A22

#158A22 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.171 H 143.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#158A22
RGBrgb(21, 138, 34)
HSLhsl(127, 74%, 31%)
HSVhsv(127, 85%, 54%)
CMYKcmyk(84.8%, 0%, 75.4%, 45.9%)
CIE-LABlab(50.04, -51.10, 44.39)
CIE-LCHlch(50.04, 67.69, 139.02°)
OKLaboklab(55.26% -0.1381 0.1006)
OKLCHoklch(55.26% 0.171 143.9)
XYZxyz(9.6858, 18.4507, 4.5639)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A22 #8A157D
analogous
#428A15 #158A22 #158A5C
triadic
#158A22 #22158A #8A2215
tetradic
#158A22 #15428A #8A157D #8A5C15
square
#158A22 #15428A #8A157D #8A5C15
split-complementary
#158A22 #5C158A #8A1542
monochromatic
#052008 #0D5515 #158A22 #1DBF2F #39E14B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158A22#FFFFFF#000000##000000
##158A221.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)
#8D7C0E
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158a22;
/* rgb */ color: rgb(21, 138, 34);
/* oklch */ color: oklch(55.3% 0.171 143.9);
Tailwind
colors: {
  custom: {
    50: '#6bad64',
    500: '#158a22',
    950: '#000000',
  },
}
SCSS
$custom: #158a22;
$custom-light: #6bad64;
$custom-dark: #000000;
JSON
{
  "hex": "#158a22",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 126.667,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55257,
    "c": 0.17087,
    "h": 143.9
  },
  "luminance": 0.18452
}

Semantic roles & 50–950 ramp

primary
#158A22
secondary
#BE3DB0
accent
#38DCF0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158A22

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

Preview Lab → · Contrast checker → · Palette generator →

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