#158142#158142

#158142 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.134 H 151.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#158142
RGBrgb(21, 129, 66)
HSLhsl(145, 72%, 29%)
HSVhsv(145, 84%, 51%)
CMYKcmyk(83.7%, 0%, 48.8%, 49.4%)
CIE-LABlab(47.30, -43.77, 26.05)
CIE-LCHlch(47.30, 50.94, 149.24°)
OKLaboklab(53.1% -0.1175 0.0637)
OKLCHoklch(53.1% 0.134 151.5)
XYZxyz(9.1421, 16.2522, 7.8084)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158142 #811554
analogous
#1E8115 #158142 #158178
triadic
#158142 #421581 #814215
tetradic
#158142 #151E81 #811554 #817815
square
#158142 #151E81 #811554 #817815
split-complementary
#158142 #781581 #81151E
monochromatic
#041A0D #0C4C27 #158142 #1EB65D #33DE7A

Accessibility & contrast

On white

4.94
#158142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#158142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158142
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158142#FFFFFF#000000##FFFFFF
##1581421.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753D
Deuteranopia (green-blind)
#756D46
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #158142;
/* rgb */ color: rgb(21, 129, 66);
/* oklch */ color: oklch(53.1% 0.134 151.5);
Tailwind
colors: {
  custom: {
    50: '#68a777',
    500: '#158142',
    950: '#000000',
  },
}
SCSS
$custom: #158142;
$custom-light: #68a777;
$custom-dark: #000000;
JSON
{
  "hex": "#158142",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 145,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53099,
    "c": 0.13367,
    "h": 151.5
  },
  "luminance": 0.16253
}

Semantic roles & 50–950 ramp

primary
#158142
secondary
#B63C83
accent
#39A3EF
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #158142

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

Preview Lab → · Contrast checker → · Palette generator →

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