#158F4F#158F4F

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

Color values

HEX#158F4F
RGBrgb(21, 143, 79)
HSLhsl(149, 74%, 32%)
HSVhsv(149, 85%, 56%)
CMYKcmyk(85.3%, 0%, 44.8%, 43.9%)
CIE-LABlab(52.25, -46.58, 25.33)
CIE-LCHlch(52.25, 53.02, 151.47°)
OKLaboklab(57.26% -0.1251 0.0625)
OKLCHoklch(57.26% 0.14 153.4)
XYZxyz(11.5419, 20.3674, 10.7186)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F4F #8F1555
analogous
#188F15 #158F4F #158F8C
triadic
#158F4F #4F158F #8F4F15
tetradic
#158F4F #15188F #8F1555 #8F8C15
square
#158F4F #15188F #8F1555 #8F8C15
split-complementary
#158F4F #8C158F #8F1518
monochromatic
#052414 #0D5A32 #158F4F #1DC46C #3CE28B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158F4F#FFFFFF#000000##000000
##158F4F1.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)
#8F824A
Deuteranopia (green-blind)
#817953
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #158f4f;
/* rgb */ color: rgb(21, 143, 79);
/* oklch */ color: oklch(57.3% 0.140 153.4);
Tailwind
colors: {
  custom: {
    50: '#6bb181',
    500: '#158f4f',
    950: '#000000',
  },
}
SCSS
$custom: #158f4f;
$custom-light: #6bb181;
$custom-dark: #000000;
JSON
{
  "hex": "#158f4f",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 79
  },
  "hsl": {
    "h": 148.525,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57261,
    "c": 0.13987,
    "h": 153.4
  },
  "luminance": 0.20369
}

Semantic roles & 50–950 ramp

primary
#158F4F
secondary
#C23E83
accent
#3798F1
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #158F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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