#158D38#158D38

#158D38 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.158 H 147.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#158D38
RGBrgb(21, 141, 56)
HSLhsl(138, 74%, 32%)
HSVhsv(138, 85%, 55%)
CMYKcmyk(85.1%, 0%, 60.3%, 44.7%)
CIE-LABlab(51.26, -49.64, 36.05)
CIE-LCHlch(51.26, 61.35, 144.02°)
OKLaboklab(56.34% -0.1333 0.0853)
OKLCHoklch(56.34% 0.158 147.4)
XYZxyz(10.5471, 19.4934, 6.9473)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D38 #8D156A
analogous
#2E8D15 #158D38 #158D74
triadic
#158D38 #38158D #8D3815
tetradic
#158D38 #152E8D #8D156A #8D7415
square
#158D38 #152E8D #8D156A #8D7415
split-complementary
#158D38 #74158D #8D152E
monochromatic
#05220E #0D5823 #158D38 #1DC24D #3BE26B

Accessibility & contrast

On white

4.29
#158D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#158D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158D38
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158D38#FFFFFF#000000##000000
##158D381.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#82773F
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158d38;
/* rgb */ color: rgb(21, 141, 56);
/* oklch */ color: oklch(56.3% 0.158 147.4);
Tailwind
colors: {
  custom: {
    50: '#6baf71',
    500: '#158d38',
    950: '#000000',
  },
}
SCSS
$custom: #158d38;
$custom-light: #6baf71;
$custom-dark: #000000;
JSON
{
  "hex": "#158d38",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 137.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56337,
    "c": 0.1583,
    "h": 147.4
  },
  "luminance": 0.19495
}

Semantic roles & 50–950 ramp

primary
#158D38
secondary
#C13D9A
accent
#37BBF1
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081108
muted
#7B807B

Preview Lab

Preview with #158D38

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

Preview Lab → · Contrast checker → · Palette generator →

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