#158042#158042

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

Color values

HEX#158042
RGBrgb(21, 128, 66)
HSLhsl(145, 72%, 29%)
HSVhsv(145, 84%, 50%)
CMYKcmyk(83.6%, 0%, 48.4%, 49.8%)
CIE-LABlab(46.96, -43.40, 25.62)
CIE-LCHlch(46.96, 50.39, 149.45°)
OKLaboklab(52.82% -0.1165 0.0627)
OKLCHoklch(52.82% 0.132 151.7)
XYZxyz(9.0110, 15.9900, 7.7647)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158042 #801553
analogous
#1D8015 #158042 #158078
triadic
#158042 #421580 #804215
tetradic
#158042 #151D80 #801553 #807815
square
#158042 #151D80 #801553 #807815
split-complementary
#158042 #781580 #80151D
monochromatic
#041A0E #0C4B27 #158042 #1EB55D #32DD7A

Accessibility & contrast

On white

5.00
#158042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#158042 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158042
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158042#FFFFFF#000000##FFFFFF
##1580421.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743D
Deuteranopia (green-blind)
#746C46
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #158042;
/* rgb */ color: rgb(21, 128, 66);
/* oklch */ color: oklch(52.8% 0.132 151.7);
Tailwind
colors: {
  custom: {
    50: '#67a677',
    500: '#158042',
    950: '#000000',
  },
}
SCSS
$custom: #158042;
$custom-light: #67a677;
$custom-dark: #000000;
JSON
{
  "hex": "#158042",
  "rgb": {
    "r": 21,
    "g": 128,
    "b": 66
  },
  "hsl": {
    "h": 145.234,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.13232,
    "h": 151.7
  },
  "luminance": 0.15991
}

Semantic roles & 50–950 ramp

primary
#158042
secondary
#B53C82
accent
#39A2EF
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #158042

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

Preview Lab → · Contrast checker → · Palette generator →

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