#158F26#158F26

#158F26 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.174 H 144.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#158F26
RGBrgb(21, 143, 38)
HSLhsl(128, 74%, 32%)
HSVhsv(128, 85%, 56%)
CMYKcmyk(85.3%, 0%, 73.4%, 43.9%)
CIE-LABlab(51.77, -52.36, 44.61)
CIE-LCHlch(51.77, 68.79, 139.57°)
OKLaboklab(56.71% -0.1414 0.1016)
OKLCHoklch(56.71% 0.174 144.3)
XYZxyz(10.4808, 19.9430, 5.1303)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F26 #8F157E
analogous
#418F15 #158F26 #158F63
triadic
#158F26 #26158F #8F2615
tetradic
#158F26 #15418F #8F157E #8F6315
square
#158F26 #15418F #8F157E #8F6315
split-complementary
#158F26 #63158F #8F1541
monochromatic
#05240A #0D5A18 #158F26 #1DC434 #3CE253

Accessibility & contrast

On white

4.21
#158F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#158F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F26
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F26#FFFFFF#000000##000000
##158F261.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f26;
/* rgb */ color: rgb(21, 143, 38);
/* oklch */ color: oklch(56.7% 0.174 144.3);
Tailwind
colors: {
  custom: {
    50: '#6db167',
    500: '#158f26',
    950: '#000000',
  },
}
SCSS
$custom: #158f26;
$custom-light: #6db167;
$custom-dark: #000000;
JSON
{
  "hex": "#158f26",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 128.361,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.17409,
    "h": 144.3
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#158F26
secondary
#C23EB0
accent
#37D7F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158F26

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

Preview Lab → · Contrast checker → · Palette generator →

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