#158A2D#158A2D

#158A2D is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.163 H 145.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#158A2D
RGBrgb(21, 138, 45)
HSLhsl(132, 74%, 31%)
HSVhsv(132, 85%, 54%)
CMYKcmyk(84.8%, 0%, 67.4%, 45.9%)
CIE-LABlab(50.13, -50.01, 39.91)
CIE-LCHlch(50.13, 63.98, 141.41°)
OKLaboklab(55.36% -0.1347 0.0925)
OKLCHoklch(55.36% 0.163 145.5)
XYZxyz(9.8707, 18.5246, 5.5375)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A2D #8A1572
analogous
#378A15 #158A2D #158A67
triadic
#158A2D #2D158A #8A2D15
tetradic
#158A2D #15378A #8A1572 #8A6715
square
#158A2D #15378A #8A1572 #8A6715
split-complementary
#158A2D #67158A #8A1537
monochromatic
#05200A #0D551C #158A2D #1DBF3E #39E15B

Accessibility & contrast

On white

4.46
#158A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#158A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158A2D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158A2D#FFFFFF#000000##000000
##158A2D1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C21
Deuteranopia (green-blind)
#807436
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158a2d;
/* rgb */ color: rgb(21, 138, 45);
/* oklch */ color: oklch(55.4% 0.163 145.5);
Tailwind
colors: {
  custom: {
    50: '#6bad6a',
    500: '#158a2d',
    950: '#000000',
  },
}
SCSS
$custom: #158a2d;
$custom-light: #6bad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#158a2d",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 132.308,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55359,
    "c": 0.16342,
    "h": 145.5
  },
  "luminance": 0.18526
}

Semantic roles & 50–950 ramp

primary
#158A2D
secondary
#BE3DA3
accent
#38CAF0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #158A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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