#158F2E#158F2E

#158F2E is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.169 H 145.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#158F2E
RGBrgb(21, 143, 46)
HSLhsl(132, 74%, 32%)
HSVhsv(132, 85%, 56%)
CMYKcmyk(85.3%, 0%, 67.8%, 43.9%)
CIE-LABlab(51.84, -51.55, 41.34)
CIE-LCHlch(51.84, 66.08, 141.27°)
OKLaboklab(56.79% -0.1388 0.0957)
OKLCHoklch(56.79% 0.169 145.4)
XYZxyz(10.6241, 20.0003, 5.8847)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F2E #8F1576
analogous
#398F15 #158F2E #158F6B
triadic
#158F2E #2E158F #8F2E15
tetradic
#158F2E #15398F #8F1576 #8F6B15
square
#158F2E #15398F #8F1576 #8F6B15
split-complementary
#158F2E #6B158F #8F1539
monochromatic
#05240C #0D5A1D #158F2E #1DC43F #3CE25E

Accessibility & contrast

On white

4.20
#158F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#158F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F2E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F2E#FFFFFF#000000##000000
##158F2E1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918121
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #158f2e;
/* rgb */ color: rgb(21, 143, 46);
/* oklch */ color: oklch(56.8% 0.169 145.4);
Tailwind
colors: {
  custom: {
    50: '#6cb16b',
    500: '#158f2e',
    950: '#000000',
  },
}
SCSS
$custom: #158f2e;
$custom-light: #6cb16b;
$custom-dark: #000000;
JSON
{
  "hex": "#158f2e",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 132.295,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56785,
    "c": 0.16862,
    "h": 145.4
  },
  "luminance": 0.20002
}

Semantic roles & 50–950 ramp

primary
#158F2E
secondary
#C23EA7
accent
#37CBF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #158F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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