#158138#158138

#158138 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.143 H 148.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#158138
RGBrgb(21, 129, 56)
HSLhsl(139, 72%, 29%)
HSVhsv(139, 84%, 51%)
CMYKcmyk(83.7%, 0%, 56.6%, 49.4%)
CIE-LABlab(47.16, -45.44, 31.18)
CIE-LCHlch(47.16, 55.11, 145.54°)
OKLaboklab(52.94% -0.122 0.0747)
OKLCHoklch(52.94% 0.143 148.5)
XYZxyz(8.8726, 16.1444, 6.3892)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158138 #81155E
analogous
#288115 #158138 #15816E
triadic
#158138 #381581 #813815
tetradic
#158138 #152881 #81155E #816E15
square
#158138 #152881 #81155E #816E15
split-complementary
#158138 #6E1581 #811528
monochromatic
#041A0B #0C4C21 #158138 #1EB64F #33DE6A

Accessibility & contrast

On white

4.97
#158138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#158138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158138
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158138#FFFFFF#000000##FFFFFF
##1581381.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827531
Deuteranopia (green-blind)
#766D3E
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #158138;
/* rgb */ color: rgb(21, 129, 56);
/* oklch */ color: oklch(52.9% 0.143 148.5);
Tailwind
colors: {
  custom: {
    50: '#68a770',
    500: '#158138',
    950: '#000000',
  },
}
SCSS
$custom: #158138;
$custom-light: #68a770;
$custom-dark: #000000;
JSON
{
  "hex": "#158138",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 139.444,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52937,
    "c": 0.14305,
    "h": 148.5
  },
  "luminance": 0.16145
}

Semantic roles & 50–950 ramp

primary
#158138
secondary
#B63C8E
accent
#39B4EF
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #158138

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

Preview Lab → · Contrast checker → · Palette generator →

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