#158A20#158A20

#158A20 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.2% C 0.172 H 143.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#158A20
RGBrgb(21, 138, 32)
HSLhsl(126, 74%, 31%)
HSVhsv(126, 85%, 54%)
CMYKcmyk(84.8%, 0%, 76.8%, 45.9%)
CIE-LABlab(50.02, -51.27, 45.12)
CIE-LCHlch(50.02, 68.30, 138.65°)
OKLaboklab(55.24% -0.1387 0.1018)
OKLCHoklch(55.24% 0.172 143.7)
XYZxyz(9.6578, 18.4395, 4.4164)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A20 #8A157F
analogous
#448A15 #158A20 #158A5A
triadic
#158A20 #20158A #8A2015
tetradic
#158A20 #15448A #8A157F #8A5A15
square
#158A20 #15448A #8A157F #8A5A15
split-complementary
#158A20 #5A158A #8A1544
monochromatic
#052007 #0D5514 #158A20 #1DBF2C #39E148

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158A20#FFFFFF#000000##000000
##158A201.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)
#8D7C0A
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158a20;
/* rgb */ color: rgb(21, 138, 32);
/* oklch */ color: oklch(55.2% 0.172 143.7);
Tailwind
colors: {
  custom: {
    50: '#6cad63',
    500: '#158a20',
    950: '#000000',
  },
}
SCSS
$custom: #158a20;
$custom-light: #6cad63;
$custom-dark: #000000;
JSON
{
  "hex": "#158a20",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 125.641,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55242,
    "c": 0.17206,
    "h": 143.7
  },
  "luminance": 0.18441
}

Semantic roles & 50–950 ramp

primary
#158A20
secondary
#BE3DB2
accent
#38DFF0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158A20

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

Preview Lab → · Contrast checker → · Palette generator →

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