#158F4D#158F4D

#158F4D is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.142 H 152.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#158F4D
RGBrgb(21, 143, 77)
HSLhsl(148, 74%, 32%)
HSVhsv(148, 85%, 56%)
CMYKcmyk(85.3%, 0%, 46.2%, 43.9%)
CIE-LABlab(52.22, -46.96, 26.37)
CIE-LCHlch(52.22, 53.85, 150.68°)
OKLaboklab(57.22% -0.1261 0.0649)
OKLCHoklch(57.22% 0.142 152.8)
XYZxyz(11.4702, 20.3387, 10.3410)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F4D #8F1557
analogous
#1A8F15 #158F4D #158F8A
triadic
#158F4D #4D158F #8F4D15
tetradic
#158F4D #151A8F #8F1557 #8F8A15
square
#158F4D #151A8F #8F1557 #8F8A15
split-complementary
#158F4D #8A158F #8F151A
monochromatic
#052414 #0D5A30 #158F4D #1DC46A #3CE288

Accessibility & contrast

On white

4.14
#158F4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#158F4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F4D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F4D#FFFFFF#000000##000000
##158F4D1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8248
Deuteranopia (green-blind)
#827952
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #158f4d;
/* rgb */ color: rgb(21, 143, 77);
/* oklch */ color: oklch(57.2% 0.142 152.8);
Tailwind
colors: {
  custom: {
    50: '#6bb180',
    500: '#158f4d',
    950: '#000000',
  },
}
SCSS
$custom: #158f4d;
$custom-light: #6bb180;
$custom-dark: #000000;
JSON
{
  "hex": "#158f4d",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 77
  },
  "hsl": {
    "h": 147.541,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57224,
    "c": 0.14179,
    "h": 152.8
  },
  "luminance": 0.2034
}

Semantic roles & 50–950 ramp

primary
#158F4D
secondary
#C23E85
accent
#379CF1
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #158F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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