#158128#158128

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

Color values

HEX#158128
RGBrgb(21, 129, 40)
HSLhsl(131, 72%, 29%)
HSVhsv(131, 84%, 51%)
CMYKcmyk(83.7%, 0%, 69%, 49.4%)
CIE-LABlab(46.99, -47.55, 38.71)
CIE-LCHlch(46.99, 61.31, 140.85°)
OKLaboklab(52.74% -0.1282 0.0894)
OKLCHoklch(52.74% 0.156 145.1)
XYZxyz(8.5419, 16.0121, 4.6475)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158128 #81156E
analogous
#388115 #158128 #15815E
triadic
#158128 #281581 #812815
tetradic
#158128 #153881 #81156E #815E15
square
#158128 #153881 #81156E #815E15
split-complementary
#158128 #5E1581 #811538
monochromatic
#041A08 #0C4C18 #158128 #1EB638 #33DE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158128#FFFFFF#000000##FFFFFF
##1581281.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)
#83741C
Deuteranopia (green-blind)
#786C30
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #158128;
/* rgb */ color: rgb(21, 129, 40);
/* oklch */ color: oklch(52.7% 0.156 145.1);
Tailwind
colors: {
  custom: {
    50: '#69a766',
    500: '#158128',
    950: '#000000',
  },
}
SCSS
$custom: #158128;
$custom-light: #69a766;
$custom-dark: #000000;
JSON
{
  "hex": "#158128",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 130.556,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52737,
    "c": 0.15631,
    "h": 145.1
  },
  "luminance": 0.16013
}

Semantic roles & 50–950 ramp

primary
#158128
secondary
#B63CA0
accent
#39CFEF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #158128

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

Preview Lab → · Contrast checker → · Palette generator →

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