#158140#158140

#158140 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.136 H 150.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#158140
RGBrgb(21, 129, 64)
HSLhsl(144, 72%, 29%)
HSVhsv(144, 84%, 51%)
CMYKcmyk(83.7%, 0%, 50.4%, 49.4%)
CIE-LABlab(47.27, -44.13, 27.10)
CIE-LCHlch(47.27, 51.78, 148.45°)
OKLaboklab(53.06% -0.1184 0.066)
OKLCHoklch(53.06% 0.136 150.9)
XYZxyz(9.0841, 16.2290, 7.5032)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158140 #811556
analogous
#208115 #158140 #158176
triadic
#158140 #401581 #814015
tetradic
#158140 #152081 #811556 #817615
square
#158140 #152081 #811556 #817615
split-complementary
#158140 #761581 #811520
monochromatic
#041A0D #0C4C26 #158140 #1EB65A #33DE77

Accessibility & contrast

On white

4.95
#158140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #158140
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158140#FFFFFF#000000##FFFFFF
##1581401.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82753B
Deuteranopia (green-blind)
#766D45
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #158140;
/* rgb */ color: rgb(21, 129, 64);
/* oklch */ color: oklch(53.1% 0.136 150.9);
Tailwind
colors: {
  custom: {
    50: '#68a776',
    500: '#158140',
    950: '#000000',
  },
}
SCSS
$custom: #158140;
$custom-light: #68a776;
$custom-dark: #000000;
JSON
{
  "hex": "#158140",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 64
  },
  "hsl": {
    "h": 143.889,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53064,
    "c": 0.13559,
    "h": 150.9
  },
  "luminance": 0.1623
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #158140

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

Preview Lab → · Contrast checker → · Palette generator →

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