#158C18#158C18

#158C18 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.178 H 142.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#158C18
RGBrgb(21, 140, 24)
HSLhsl(122, 74%, 32%)
HSVhsv(122, 85%, 55%)
CMYKcmyk(85%, 0%, 82.9%, 45.1%)
CIE-LABlab(50.66, -52.48, 48.41)
CIE-LCHlch(50.66, 71.39, 137.31°)
OKLaboklab(55.76% -0.1423 0.1076)
OKLCHoklch(55.76% 0.178 142.9)
XYZxyz(9.8516, 18.9803, 4.0083)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158C18 #8C1589
analogous
#4E8C15 #158C18 #158C54
triadic
#158C18 #18158C #8C1815
tetradic
#158C18 #154E8C #8C1589 #8C5415
square
#158C18 #154E8C #8C1589 #8C5415
split-complementary
#158C18 #54158C #8C154E
monochromatic
#052206 #0D570F #158C18 #1DC121 #3AE13E

Accessibility & contrast

On white

4.38
#158C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#158C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158C18
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158C18#FFFFFF#000000##000000
##158C181.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #158c18;
/* rgb */ color: rgb(21, 140, 24);
/* oklch */ color: oklch(55.8% 0.178 142.9);
Tailwind
colors: {
  custom: {
    50: '#6caf60',
    500: '#158c18',
    950: '#000000',
  },
}
SCSS
$custom: #158c18;
$custom-light: #6caf60;
$custom-dark: #000000;
JSON
{
  "hex": "#158c18",
  "rgb": {
    "r": 21,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 121.513,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5576,
    "c": 0.17839,
    "h": 142.9
  },
  "luminance": 0.18982
}

Semantic roles & 50–950 ramp

primary
#158C18
secondary
#C03DBD
accent
#37ECF1
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #158C18

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

Preview Lab → · Contrast checker → · Palette generator →

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