#158127#158127

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

Color values

HEX#158127
RGBrgb(21, 129, 39)
HSLhsl(130, 72%, 29%)
HSVhsv(130, 84%, 51%)
CMYKcmyk(83.7%, 0%, 69.8%, 49.4%)
CIE-LABlab(46.98, -47.66, 39.14)
CIE-LCHlch(46.98, 61.67, 140.60°)
OKLaboklab(52.73% -0.1285 0.0902)
OKLCHoklch(52.73% 0.157 144.9)
XYZxyz(8.5251, 16.0054, 4.5591)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158127 #81156F
analogous
#398115 #158127 #15815D
triadic
#158127 #271581 #812715
tetradic
#158127 #153981 #81156F #815D15
square
#158127 #153981 #81156F #815D15
split-complementary
#158127 #5D1581 #811539
monochromatic
#041A08 #0C4C17 #158127 #1EB637 #33DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158127#FFFFFF#000000##FFFFFF
##1581271.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)
#83741B
Deuteranopia (green-blind)
#786C30
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #158127;
/* rgb */ color: rgb(21, 129, 39);
/* oklch */ color: oklch(52.7% 0.157 144.9);
Tailwind
colors: {
  custom: {
    50: '#69a766',
    500: '#158127',
    950: '#000000',
  },
}
SCSS
$custom: #158127;
$custom-light: #69a766;
$custom-dark: #000000;
JSON
{
  "hex": "#158127",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 130,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52727,
    "c": 0.15704,
    "h": 144.9
  },
  "luminance": 0.16006
}

Semantic roles & 50–950 ramp

primary
#158127
secondary
#B63CA2
accent
#39D0EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #158127

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

Preview Lab → · Contrast checker → · Palette generator →

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