#158F2D#158F2D

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

Color values

HEX#158F2D
RGBrgb(21, 143, 45)
HSLhsl(132, 74%, 32%)
HSVhsv(132, 85%, 56%)
CMYKcmyk(85.3%, 0%, 68.5%, 43.9%)
CIE-LABlab(51.83, -51.66, 41.77)
CIE-LCHlch(51.83, 66.43, 141.04°)
OKLaboklab(56.78% -0.1392 0.0965)
OKLCHoklch(56.78% 0.169 145.3)
XYZxyz(10.6046, 19.9925, 5.7821)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F2D #8F1577
analogous
#3A8F15 #158F2D #158F6A
triadic
#158F2D #2D158F #8F2D15
tetradic
#158F2D #153A8F #8F1577 #8F6A15
square
#158F2D #153A8F #8F1577 #8F6A15
split-complementary
#158F2D #6A158F #8F153A
monochromatic
#05240B #0D5A1C #158F2D #1DC43E #3CE25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158F2D#FFFFFF#000000##000000
##158F2D1.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)
#918120
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #158f2d;
/* rgb */ color: rgb(21, 143, 45);
/* oklch */ color: oklch(56.8% 0.169 145.3);
Tailwind
colors: {
  custom: {
    50: '#6cb16b',
    500: '#158f2d',
    950: '#000000',
  },
}
SCSS
$custom: #158f2d;
$custom-light: #6cb16b;
$custom-dark: #000000;
JSON
{
  "hex": "#158f2d",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 131.803,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56775,
    "c": 0.16935,
    "h": 145.3
  },
  "luminance": 0.19994
}

Semantic roles & 50–950 ramp

primary
#158F2D
secondary
#C23EA8
accent
#37CCF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #158F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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