#158A34#158A34

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

Color values

HEX#158A34
RGBrgb(21, 138, 52)
HSLhsl(136, 74%, 31%)
HSVhsv(136, 85%, 54%)
CMYKcmyk(84.8%, 0%, 62.3%, 45.9%)
CIE-LABlab(50.20, -49.15, 36.75)
CIE-LCHlch(50.20, 61.37, 143.22°)
OKLaboklab(55.44% -0.1321 0.0865)
OKLCHoklch(55.44% 0.158 146.8)
XYZxyz(10.0168, 18.5831, 6.3071)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A34 #8A156B
analogous
#318A15 #158A34 #158A6E
triadic
#158A34 #34158A #8A3415
tetradic
#158A34 #15318A #8A156B #8A6E15
square
#158A34 #15318A #8A156B #8A6E15
split-complementary
#158A34 #6E158A #8A1531
monochromatic
#05200C #0D5520 #158A34 #1DBF48 #39E165

Accessibility & contrast

On white

4.45
#158A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#158A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158A34
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158A34#FFFFFF#000000##000000
##158A341.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2B
Deuteranopia (green-blind)
#7F743B
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158a34;
/* rgb */ color: rgb(21, 138, 52);
/* oklch */ color: oklch(55.4% 0.158 146.8);
Tailwind
colors: {
  custom: {
    50: '#6aad6f',
    500: '#158a34',
    950: '#000000',
  },
}
SCSS
$custom: #158a34;
$custom-light: #6aad6f;
$custom-dark: #000000;
JSON
{
  "hex": "#158a34",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 135.897,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55439,
    "c": 0.15792,
    "h": 146.8
  },
  "luminance": 0.18584
}

Semantic roles & 50–950 ramp

primary
#158A34
secondary
#BE3D9C
accent
#38BFF0
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #158A34

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

Preview Lab → · Contrast checker → · Palette generator →

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