#158A2B#158A2B

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

Color values

HEX#158A2B
RGBrgb(21, 138, 43)
HSLhsl(131, 74%, 31%)
HSVhsv(131, 85%, 54%)
CMYKcmyk(84.8%, 0%, 68.8%, 45.9%)
CIE-LABlab(50.11, -50.23, 40.77)
CIE-LCHlch(50.11, 64.69, 140.93°)
OKLaboklab(55.34% -0.1354 0.0941)
OKLCHoklch(55.34% 0.165 145.2)
XYZxyz(9.8331, 18.5096, 5.3395)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A2B #8A1574
analogous
#398A15 #158A2B #158A65
triadic
#158A2B #2B158A #8A2B15
tetradic
#158A2B #15398A #8A1574 #8A6515
square
#158A2B #15398A #8A1574 #8A6515
split-complementary
#158A2B #65158A #8A1539
monochromatic
#05200A #0D551A #158A2B #1DBF3C #39E158

Accessibility & contrast

On white

4.47
#158A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##158A2B#FFFFFF#000000##000000
##158A2B1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #158a2b;
/* rgb */ color: rgb(21, 138, 43);
/* oklch */ color: oklch(55.3% 0.165 145.2);
Tailwind
colors: {
  custom: {
    50: '#6bad69',
    500: '#158a2b',
    950: '#000000',
  },
}
SCSS
$custom: #158a2b;
$custom-light: #6bad69;
$custom-dark: #000000;
JSON
{
  "hex": "#158a2b",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 131.282,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55338,
    "c": 0.16489,
    "h": 145.2
  },
  "luminance": 0.18511
}

Semantic roles & 50–950 ramp

primary
#158A2B
secondary
#BE3DA6
accent
#38CEF0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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