#158D26#158D26

#158D26 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.172 H 144.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#158D26
RGBrgb(21, 141, 38)
HSLhsl(129, 74%, 32%)
HSVhsv(129, 85%, 55%)
CMYKcmyk(85.1%, 0%, 73%, 44.7%)
CIE-LABlab(51.09, -51.71, 43.91)
CIE-LCHlch(51.09, 67.84, 139.67°)
OKLaboklab(56.14% -0.1396 0.1001)
OKLCHoklch(56.14% 0.172 144.4)
XYZxyz(10.1833, 19.3479, 5.0312)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D26 #8D157C
analogous
#408D15 #158D26 #158D62
triadic
#158D26 #26158D #8D2615
tetradic
#158D26 #15408D #8D157C #8D6215
square
#158D26 #15408D #8D157C #8D6215
split-complementary
#158D26 #62158D #8D1540
monochromatic
#052209 #0D5818 #158D26 #1DC234 #3BE252

Accessibility & contrast

On white

4.31
#158D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#158D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158D26
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158D26#FFFFFF#000000##000000
##158D261.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F15
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158d26;
/* rgb */ color: rgb(21, 141, 38);
/* oklch */ color: oklch(56.1% 0.172 144.4);
Tailwind
colors: {
  custom: {
    50: '#6cb067',
    500: '#158d26',
    950: '#000000',
  },
}
SCSS
$custom: #158d26;
$custom-light: #6cb067;
$custom-dark: #000000;
JSON
{
  "hex": "#158d26",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 128.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56143,
    "c": 0.1718,
    "h": 144.4
  },
  "luminance": 0.19349
}

Semantic roles & 50–950 ramp

primary
#158D26
secondary
#C13DAE
accent
#37D6F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158D26

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

Preview Lab → · Contrast checker → · Palette generator →

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