#158A32#158A32

#158A32 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.4% C 0.160 H 146.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#158A32
RGBrgb(21, 138, 50)
HSLhsl(135, 74%, 31%)
HSVhsv(135, 85%, 54%)
CMYKcmyk(84.8%, 0%, 63.8%, 45.9%)
CIE-LABlab(50.17, -49.41, 37.67)
CIE-LCHlch(50.17, 62.13, 142.68°)
OKLaboklab(55.42% -0.1329 0.0883)
OKLCHoklch(55.42% 0.16 146.4)
XYZxyz(9.9727, 18.5654, 6.0749)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A32 #8A156D
analogous
#328A15 #158A32 #158A6C
triadic
#158A32 #32158A #8A3215
tetradic
#158A32 #15328A #8A156D #8A6C15
square
#158A32 #15328A #8A156D #8A6C15
split-complementary
#158A32 #6C158A #8A1532
monochromatic
#05200C #0D551F #158A32 #1DBF45 #39E162

Accessibility & contrast

On white

4.46
#158A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#158A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158A32
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158A32#FFFFFF#000000##000000
##158A321.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D28
Deuteranopia (green-blind)
#80743A
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158a32;
/* rgb */ color: rgb(21, 138, 50);
/* oklch */ color: oklch(55.4% 0.160 146.4);
Tailwind
colors: {
  custom: {
    50: '#6bad6d',
    500: '#158a32',
    950: '#000000',
  },
}
SCSS
$custom: #158a32;
$custom-light: #6bad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#158a32",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 134.872,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55415,
    "c": 0.15955,
    "h": 146.4
  },
  "luminance": 0.18567
}

Semantic roles & 50–950 ramp

primary
#158A32
secondary
#BE3D9E
accent
#38C2F0
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #158A32

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

Preview Lab → · Contrast checker → · Palette generator →

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