#158118#158118

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

Color values

HEX#158118
RGBrgb(21, 129, 24)
HSLhsl(122, 72%, 29%)
HSVhsv(122, 84%, 51%)
CMYKcmyk(83.7%, 0%, 81.4%, 49.4%)
CIE-LABlab(46.88, -48.98, 44.82)
CIE-LCHlch(46.88, 66.39, 137.54°)
OKLaboklab(52.61% -0.1328 0.1001)
OKLCHoklch(52.61% 0.166 143)
XYZxyz(8.3238, 15.9249, 3.4991)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158118 #81157E
analogous
#488115 #158118 #15814E
triadic
#158118 #181581 #811815
tetradic
#158118 #154881 #81157E #814E15
square
#158118 #154881 #81157E #814E15
split-complementary
#158118 #4E1581 #811548
monochromatic
#041A05 #0C4C0E #158118 #1EB622 #33DE37

Accessibility & contrast

On white

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

On black

4.19
#158118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##158118#FFFFFF#000000##FFFFFF
##1581181.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #158118;
/* rgb */ color: rgb(21, 129, 24);
/* oklch */ color: oklch(52.6% 0.166 143.0);
Tailwind
colors: {
  custom: {
    50: '#69a75e',
    500: '#158118',
    950: '#000000',
  },
}
SCSS
$custom: #158118;
$custom-light: #69a75e;
$custom-dark: #000000;
JSON
{
  "hex": "#158118",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 121.667,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52605,
    "c": 0.16629,
    "h": 143
  },
  "luminance": 0.15926
}

Semantic roles & 50–950 ramp

primary
#158118
secondary
#B63CB2
accent
#39EAEF
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #158118

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

Preview Lab → · Contrast checker → · Palette generator →

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