#158F2B#158F2B

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

Color values

HEX#158F2B
RGBrgb(21, 143, 43)
HSLhsl(131, 74%, 32%)
HSVhsv(131, 85%, 56%)
CMYKcmyk(85.3%, 0%, 69.9%, 43.9%)
CIE-LABlab(51.81, -51.87, 42.61)
CIE-LCHlch(51.81, 67.13, 140.60°)
OKLaboklab(56.76% -0.1398 0.098)
OKLCHoklch(56.76% 0.171 145)
XYZxyz(10.5670, 19.9775, 5.5841)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F2B #8F1579
analogous
#3C8F15 #158F2B #158F68
triadic
#158F2B #2B158F #8F2B15
tetradic
#158F2B #153C8F #8F1579 #8F6815
square
#158F2B #153C8F #8F1579 #8F6815
split-complementary
#158F2B #68158F #8F153C
monochromatic
#05240B #0D5A1B #158F2B #1DC43B #3CE25A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158F2B#FFFFFF#000000##000000
##158F2B1.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)
#92811D
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f2b;
/* rgb */ color: rgb(21, 143, 43);
/* oklch */ color: oklch(56.8% 0.171 145.0);
Tailwind
colors: {
  custom: {
    50: '#6cb16a',
    500: '#158f2b',
    950: '#000000',
  },
}
SCSS
$custom: #158f2b;
$custom-light: #6cb16a;
$custom-dark: #000000;
JSON
{
  "hex": "#158f2b",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 130.82,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56755,
    "c": 0.17076,
    "h": 145
  },
  "luminance": 0.19979
}

Semantic roles & 50–950 ramp

primary
#158F2B
secondary
#C23EAA
accent
#37CFF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #158F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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