#158E34#158E34

#158E34 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.163 H 146.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#158E34
RGBrgb(21, 142, 52)
HSLhsl(135, 74%, 32%)
HSVhsv(135, 85%, 56%)
CMYKcmyk(85.2%, 0%, 63.4%, 44.3%)
CIE-LABlab(51.56, -50.51, 38.30)
CIE-LCHlch(51.56, 63.39, 142.82°)
OKLaboklab(56.57% -0.1358 0.0898)
OKLCHoklch(56.57% 0.163 146.5)
XYZxyz(10.6013, 19.7520, 6.5019)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E34 #8E156F
analogous
#338E15 #158E34 #158E71
triadic
#158E34 #34158E #8E3415
tetradic
#158E34 #15338E #8E156F #8E7115
square
#158E34 #15338E #8E156F #8E7115
split-complementary
#158E34 #71158E #8E1533
monochromatic
#05230D #0D5920 #158E34 #1DC348 #3BE266

Accessibility & contrast

On white

4.24
#158E34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#158E34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158E34
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158E34#FFFFFF#000000##000000
##158E341.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802A
Deuteranopia (green-blind)
#83773C
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158e34;
/* rgb */ color: rgb(21, 142, 52);
/* oklch */ color: oklch(56.6% 0.163 146.5);
Tailwind
colors: {
  custom: {
    50: '#6cb06f',
    500: '#158e34',
    950: '#000000',
  },
}
SCSS
$custom: #158e34;
$custom-light: #6cb06f;
$custom-dark: #000000;
JSON
{
  "hex": "#158e34",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 52
  },
  "hsl": {
    "h": 135.372,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56569,
    "c": 0.16282,
    "h": 146.5
  },
  "luminance": 0.19753
}

Semantic roles & 50–950 ramp

primary
#158E34
secondary
#C23DA0
accent
#37C1F1
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #158E34

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

Preview Lab → · Contrast checker → · Palette generator →

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