#158F51#158F51

#158F51 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.138 H 154.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#158F51
RGBrgb(21, 143, 81)
HSLhsl(150, 74%, 32%)
HSVhsv(150, 85%, 56%)
CMYKcmyk(85.3%, 0%, 43.4%, 43.9%)
CIE-LABlab(52.28, -46.20, 24.28)
CIE-LCHlch(52.28, 52.19, 152.28°)
OKLaboklab(57.3% -0.1242 0.0602)
OKLCHoklch(57.3% 0.138 154.2)
XYZxyz(11.6158, 20.3970, 11.1078)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F51 #8F1553
analogous
#168F15 #158F51 #158F8E
triadic
#158F51 #51158F #8F5115
tetradic
#158F51 #15168F #8F1553 #8F8E15
square
#158F51 #15168F #8F1553 #8F8E15
split-complementary
#158F51 #8E158F #8F1516
monochromatic
#052415 #0D5A33 #158F51 #1DC46F #3CE28E

Accessibility & contrast

On white

4.13
#158F51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#158F51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F51
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F51#FFFFFF#000000##000000
##158F511.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F824D
Deuteranopia (green-blind)
#817955
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #158f51;
/* rgb */ color: rgb(21, 143, 81);
/* oklch */ color: oklch(57.3% 0.138 154.2);
Tailwind
colors: {
  custom: {
    50: '#6bb182',
    500: '#158f51',
    950: '#000000',
  },
}
SCSS
$custom: #158f51;
$custom-light: #6bb182;
$custom-dark: #000000;
JSON
{
  "hex": "#158f51",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 81
  },
  "hsl": {
    "h": 149.508,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.13797,
    "h": 154.2
  },
  "luminance": 0.20398
}

Semantic roles & 50–950 ramp

primary
#158F51
secondary
#C23E81
accent
#3795F1
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #158F51

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

Preview Lab → · Contrast checker → · Palette generator →

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