#158E18#158E18

#158E18 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.3% C 0.181 H 142.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#158E18
RGBrgb(21, 142, 24)
HSLhsl(121, 74%, 32%)
HSVhsv(121, 85%, 56%)
CMYKcmyk(85.2%, 0%, 83.1%, 44.3%)
CIE-LABlab(51.35, -53.10, 49.05)
CIE-LCHlch(51.35, 72.29, 137.27°)
OKLaboklab(56.33% -0.144 0.1089)
OKLCHoklch(56.33% 0.181 142.9)
XYZxyz(10.1465, 19.5701, 4.1066)
Luminance0.1957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E18 #8E158B
analogous
#4E8E15 #158E18 #158E55
triadic
#158E18 #18158E #8E1815
tetradic
#158E18 #154E8E #8E158B #8E5515
square
#158E18 #154E8E #8E158B #8E5515
split-complementary
#158E18 #55158E #8E154E
monochromatic
#052306 #0D590F #158E18 #1DC321 #3BE23F

Accessibility & contrast

On white

4.27
#158E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#158E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158E18
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158E18#FFFFFF#000000##000000
##158E181.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158e18;
/* rgb */ color: rgb(21, 142, 24);
/* oklch */ color: oklch(56.3% 0.181 142.9);
Tailwind
colors: {
  custom: {
    50: '#6db060',
    500: '#158e18',
    950: '#000000',
  },
}
SCSS
$custom: #158e18;
$custom-light: #6db060;
$custom-dark: #000000;
JSON
{
  "hex": "#158e18",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 121.488,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56329,
    "c": 0.18054,
    "h": 142.9
  },
  "luminance": 0.19571
}

Semantic roles & 50–950 ramp

primary
#158E18
secondary
#C23DBE
accent
#37ECF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #158E18

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

Preview Lab → · Contrast checker → · Palette generator →

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