#158C2A#158C2A

#158C2A is a mid, vivid green. Relative luminance 0.191; OKLCH L 55.9% C 0.168 H 144.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#158C2A
RGBrgb(21, 140, 42)
HSLhsl(131, 74%, 32%)
HSVhsv(131, 85%, 55%)
CMYKcmyk(85%, 0%, 70%, 45.1%)
CIE-LABlab(50.78, -50.99, 41.93)
CIE-LCHlch(50.78, 66.02, 140.57°)
OKLaboklab(55.9% -0.1375 0.0965)
OKLCHoklch(55.9% 0.168 144.9)
XYZxyz(10.1045, 19.0815, 5.3406)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158C2A #8C1577
analogous
#3C8C15 #158C2A #158C66
triadic
#158C2A #2A158C #8C2A15
tetradic
#158C2A #153C8C #8C1577 #8C6615
square
#158C2A #153C8C #8C1577 #8C6615
split-complementary
#158C2A #66158C #8C153C
monochromatic
#05220A #0D571A #158C2A #1DC13A #3AE158

Accessibility & contrast

On white

4.36
#158C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#158C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158C2A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158C2A#FFFFFF#000000##000000
##158C2A1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#827633
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #158c2a;
/* rgb */ color: rgb(21, 140, 42);
/* oklch */ color: oklch(55.9% 0.168 144.9);
Tailwind
colors: {
  custom: {
    50: '#6caf69',
    500: '#158c2a',
    950: '#000000',
  },
}
SCSS
$custom: #158c2a;
$custom-light: #6caf69;
$custom-dark: #000000;
JSON
{
  "hex": "#158c2a",
  "rgb": {
    "r": 21,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 130.588,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55896,
    "c": 0.16796,
    "h": 144.9
  },
  "luminance": 0.19083
}

Semantic roles & 50–950 ramp

primary
#158C2A
secondary
#C03DA9
accent
#37D0F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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