#158A31#158A31

#158A31 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.4% C 0.160 H 146.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#158A31
RGBrgb(21, 138, 49)
HSLhsl(134, 74%, 31%)
HSVhsv(134, 85%, 54%)
CMYKcmyk(84.8%, 0%, 64.5%, 45.9%)
CIE-LABlab(50.16, -49.53, 38.13)
CIE-LCHlch(50.16, 62.51, 142.41°)
OKLaboklab(55.4% -0.1333 0.0892)
OKLCHoklch(55.4% 0.16 146.2)
XYZxyz(9.9514, 18.5569, 5.9625)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A31 #8A156E
analogous
#338A15 #158A31 #158A6B
triadic
#158A31 #31158A #8A3115
tetradic
#158A31 #15338A #8A156E #8A6B15
square
#158A31 #15338A #8A156E #8A6B15
split-complementary
#158A31 #6B158A #8A1533
monochromatic
#05200B #0D551E #158A31 #1DBF44 #39E161

Accessibility & contrast

On white

4.46
#158A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#158A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158A31
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158A31#FFFFFF#000000##000000
##158A311.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D27
Deuteranopia (green-blind)
#807439
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158a31;
/* rgb */ color: rgb(21, 138, 49);
/* oklch */ color: oklch(55.4% 0.160 146.2);
Tailwind
colors: {
  custom: {
    50: '#6bad6d',
    500: '#158a31',
    950: '#000000',
  },
}
SCSS
$custom: #158a31;
$custom-light: #6bad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#158a31",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 134.359,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55403,
    "c": 0.16034,
    "h": 146.2
  },
  "luminance": 0.18558
}

Semantic roles & 50–950 ramp

primary
#158A31
secondary
#BE3D9F
accent
#38C4F0
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #158A31

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

Preview Lab → · Contrast checker → · Palette generator →

#158A31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva