#158A26#158A26

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

Color values

HEX#158A26
RGBrgb(21, 138, 38)
HSLhsl(129, 74%, 31%)
HSVhsv(129, 85%, 54%)
CMYKcmyk(84.8%, 0%, 72.5%, 45.9%)
CIE-LABlab(50.07, -50.74, 42.84)
CIE-LCHlch(50.07, 66.41, 139.83°)
OKLaboklab(55.29% -0.137 0.0979)
OKLCHoklch(55.29% 0.168 144.5)
XYZxyz(9.7469, 18.4751, 4.8857)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A26 #8A1579
analogous
#3E8A15 #158A26 #158A60
triadic
#158A26 #26158A #8A2615
tetradic
#158A26 #153E8A #8A1579 #8A6015
square
#158A26 #153E8A #8A1579 #8A6015
split-complementary
#158A26 #60158A #8A153E
monochromatic
#052009 #0D5517 #158A26 #1DBF35 #39E151

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158A26#FFFFFF#000000##000000
##158A261.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)
#8D7C16
Deuteranopia (green-blind)
#807430
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158a26;
/* rgb */ color: rgb(21, 138, 38);
/* oklch */ color: oklch(55.3% 0.168 144.5);
Tailwind
colors: {
  custom: {
    50: '#6bad66',
    500: '#158a26',
    950: '#000000',
  },
}
SCSS
$custom: #158a26;
$custom-light: #6bad66;
$custom-dark: #000000;
JSON
{
  "hex": "#158a26",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 128.718,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55291,
    "c": 0.16835,
    "h": 144.5
  },
  "luminance": 0.18476
}

Semantic roles & 50–950 ramp

primary
#158A26
secondary
#BE3DAB
accent
#38D5F0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158A26

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

Preview Lab → · Contrast checker → · Palette generator →

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