#158131#158131

#158131 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.8% C 0.149 H 146.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#158131
RGBrgb(21, 129, 49)
HSLhsl(136, 72%, 29%)
HSVhsv(136, 84%, 51%)
CMYKcmyk(83.7%, 0%, 62%, 49.4%)
CIE-LABlab(47.08, -46.45, 34.60)
CIE-LCHlch(47.08, 57.92, 143.31°)
OKLaboklab(52.84% -0.1249 0.0816)
OKLCHoklch(52.84% 0.149 146.8)
XYZxyz(8.7132, 16.0806, 5.5498)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158131 #811565
analogous
#2F8115 #158131 #158167
triadic
#158131 #311581 #813115
tetradic
#158131 #152F81 #811565 #816715
square
#158131 #152F81 #811565 #816715
split-complementary
#158131 #671581 #81152F
monochromatic
#041A0A #0C4C1D #158131 #1EB645 #33DE5F

Accessibility & contrast

On white

4.98
#158131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#158131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158131
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158131#FFFFFF#000000##FFFFFF
##1581311.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837529
Deuteranopia (green-blind)
#776C38
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #158131;
/* rgb */ color: rgb(21, 129, 49);
/* oklch */ color: oklch(52.8% 0.149 146.8);
Tailwind
colors: {
  custom: {
    50: '#68a76c',
    500: '#158131',
    950: '#000000',
  },
}
SCSS
$custom: #158131;
$custom-light: #68a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#158131",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 135.556,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52841,
    "c": 0.14918,
    "h": 146.8
  },
  "luminance": 0.16082
}

Semantic roles & 50–950 ramp

primary
#158131
secondary
#B63C96
accent
#39C0EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #158131

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

Preview Lab → · Contrast checker → · Palette generator →

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