#158117#158117

#158117 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.167 H 142.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#158117
RGBrgb(21, 129, 23)
HSLhsl(121, 72%, 29%)
HSVhsv(121, 84%, 51%)
CMYKcmyk(83.7%, 0%, 82.2%, 49.4%)
CIE-LABlab(46.87, -49.04, 45.14)
CIE-LCHlch(46.87, 66.65, 137.37°)
OKLaboklab(52.6% -0.133 0.1006)
OKLCHoklch(52.6% 0.167 142.9)
XYZxyz(8.3136, 15.9208, 3.4453)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158117 #81157F
analogous
#498115 #158117 #15814D
triadic
#158117 #171581 #811715
tetradic
#158117 #154981 #81157F #814D15
square
#158117 #154981 #81157F #814D15
split-complementary
#158117 #4D1581 #811549
monochromatic
#041A05 #0C4C0E #158117 #1EB620 #33DE36

Accessibility & contrast

On white

5.02
#158117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#158117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158117
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158117#FFFFFF#000000##FFFFFF
##1581171.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#007D6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #158117;
/* rgb */ color: rgb(21, 129, 23);
/* oklch */ color: oklch(52.6% 0.167 142.9);
Tailwind
colors: {
  custom: {
    50: '#69a75e',
    500: '#158117',
    950: '#000000',
  },
}
SCSS
$custom: #158117;
$custom-light: #69a75e;
$custom-dark: #000000;
JSON
{
  "hex": "#158117",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 121.111,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52599,
    "c": 0.16679,
    "h": 142.9
  },
  "luminance": 0.15922
}

Semantic roles & 50–950 ramp

primary
#158117
secondary
#B63CB4
accent
#39EBEF
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #158117

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

Preview Lab → · Contrast checker → · Palette generator →

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