#158A23#158A23

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

Color values

HEX#158A23
RGBrgb(21, 138, 35)
HSLhsl(127, 74%, 31%)
HSVhsv(127, 85%, 54%)
CMYKcmyk(84.8%, 0%, 74.6%, 45.9%)
CIE-LABlab(50.05, -51.02, 44.01)
CIE-LCHlch(50.05, 67.37, 139.22°)
OKLaboklab(55.27% -0.1379 0.0999)
OKLCHoklch(55.27% 0.17 144.1)
XYZxyz(9.7004, 18.4565, 4.6410)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A23 #8A157C
analogous
#418A15 #158A23 #158A5D
triadic
#158A23 #23158A #8A2315
tetradic
#158A23 #15418A #8A157C #8A5D15
square
#158A23 #15418A #8A157C #8A5D15
split-complementary
#158A23 #5D158A #8A1541
monochromatic
#052008 #0D5516 #158A23 #1DBF30 #39E14D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158A23#FFFFFF#000000##000000
##158A231.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)
#8D7C11
Deuteranopia (green-blind)
#80742E
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158a23;
/* rgb */ color: rgb(21, 138, 35);
/* oklch */ color: oklch(55.3% 0.170 144.1);
Tailwind
colors: {
  custom: {
    50: '#6bad65',
    500: '#158a23',
    950: '#000000',
  },
}
SCSS
$custom: #158a23;
$custom-light: #6bad65;
$custom-dark: #000000;
JSON
{
  "hex": "#158a23",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 127.179,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55265,
    "c": 0.17026,
    "h": 144.1
  },
  "luminance": 0.18458
}

Semantic roles & 50–950 ramp

primary
#158A23
secondary
#BE3DAF
accent
#38DAF0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158A23

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

Preview Lab → · Contrast checker → · Palette generator →

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