#158A24#158A24

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

Color values

HEX#158A24
RGBrgb(21, 138, 36)
HSLhsl(128, 74%, 31%)
HSVhsv(128, 85%, 54%)
CMYKcmyk(84.8%, 0%, 73.9%, 45.9%)
CIE-LABlab(50.05, -50.93, 43.62)
CIE-LCHlch(50.05, 67.06, 139.42°)
OKLaboklab(55.27% -0.1376 0.0993)
OKLCHoklch(55.27% 0.17 144.2)
XYZxyz(9.7155, 18.4626, 4.7203)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A24 #8A157B
analogous
#408A15 #158A24 #158A5E
triadic
#158A24 #24158A #8A2415
tetradic
#158A24 #15408A #8A157B #8A5E15
square
#158A24 #15408A #8A157B #8A5E15
split-complementary
#158A24 #5E158A #8A1540
monochromatic
#052008 #0D5516 #158A24 #1DBF32 #39E14E

Accessibility & contrast

On white

4.47
#158A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##158A24#FFFFFF#000000##000000
##158A241.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C13
Deuteranopia (green-blind)
#80742F
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158a24;
/* rgb */ color: rgb(21, 138, 36);
/* oklch */ color: oklch(55.3% 0.170 144.2);
Tailwind
colors: {
  custom: {
    50: '#6bad65',
    500: '#158a24',
    950: '#000000',
  },
}
SCSS
$custom: #158a24;
$custom-light: #6bad65;
$custom-dark: #000000;
JSON
{
  "hex": "#158a24",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 127.692,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55274,
    "c": 0.16964,
    "h": 144.2
  },
  "luminance": 0.18464
}

Semantic roles & 50–950 ramp

primary
#158A24
secondary
#BE3DAD
accent
#38D9F0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158A24

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

Preview Lab → · Contrast checker → · Palette generator →

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