#158040#158040

#158040 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.134 H 151.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#158040
RGBrgb(21, 128, 64)
HSLhsl(144, 72%, 29%)
HSVhsv(144, 84%, 50%)
CMYKcmyk(83.6%, 0%, 50%, 49.8%)
CIE-LABlab(46.93, -43.75, 26.67)
CIE-LCHlch(46.93, 51.24, 148.64°)
OKLaboklab(52.78% -0.1174 0.065)
OKLCHoklch(52.78% 0.134 151)
XYZxyz(8.9531, 15.9668, 7.4595)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158040 #801555
analogous
#208015 #158040 #158076
triadic
#158040 #401580 #804015
tetradic
#158040 #152080 #801555 #807615
square
#158040 #152080 #801555 #807615
split-complementary
#158040 #761580 #801520
monochromatic
#041A0D #0C4B26 #158040 #1EB55A #32DD77

Accessibility & contrast

On white

5.01
#158040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#158040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158040
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158040#FFFFFF#000000##FFFFFF
##1580401.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81743B
Deuteranopia (green-blind)
#756C45
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #158040;
/* rgb */ color: rgb(21, 128, 64);
/* oklch */ color: oklch(52.8% 0.134 151.0);
Tailwind
colors: {
  custom: {
    50: '#67a676',
    500: '#158040',
    950: '#000000',
  },
}
SCSS
$custom: #158040;
$custom-light: #67a676;
$custom-dark: #000000;
JSON
{
  "hex": "#158040",
  "rgb": {
    "r": 21,
    "g": 128,
    "b": 64
  },
  "hsl": {
    "h": 144.112,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5278,
    "c": 0.13425,
    "h": 151
  },
  "luminance": 0.15968
}

Semantic roles & 50–950 ramp

primary
#158040
secondary
#B53C84
accent
#39A6EF
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #158040

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

Preview Lab → · Contrast checker → · Palette generator →

#158040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva