#158A2C#158A2C

#158A2C is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.164 H 145.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#158A2C
RGBrgb(21, 138, 44)
HSLhsl(132, 74%, 31%)
HSVhsv(132, 85%, 54%)
CMYKcmyk(84.8%, 0%, 68.1%, 45.9%)
CIE-LABlab(50.12, -50.12, 40.35)
CIE-LCHlch(50.12, 64.34, 141.17°)
OKLaboklab(55.35% -0.135 0.0934)
OKLCHoklch(55.35% 0.164 145.3)
XYZxyz(9.8516, 18.5170, 5.4373)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A2C #8A1573
analogous
#388A15 #158A2C #158A66
triadic
#158A2C #2C158A #8A2C15
tetradic
#158A2C #15388A #8A1573 #8A6615
square
#158A2C #15388A #8A1573 #8A6615
split-complementary
#158A2C #66158A #8A1538
monochromatic
#05200A #0D551B #158A2C #1DBF3D #39E15A

Accessibility & contrast

On white

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

On black

4.70
#158A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158A2C
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158A2C#FFFFFF#000000##000000
##158A2C1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #158a2c;
/* rgb */ color: rgb(21, 138, 44);
/* oklch */ color: oklch(55.3% 0.164 145.3);
Tailwind
colors: {
  custom: {
    50: '#6bad6a',
    500: '#158a2c',
    950: '#000000',
  },
}
SCSS
$custom: #158a2c;
$custom-light: #6bad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#158a2c",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 131.795,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55349,
    "c": 0.16416,
    "h": 145.3
  },
  "luminance": 0.18518
}

Semantic roles & 50–950 ramp

primary
#158A2C
secondary
#BE3DA5
accent
#38CCF0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #158A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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