#158F18#158F18

#158F18 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.6% C 0.182 H 142.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#158F18
RGBrgb(21, 143, 24)
HSLhsl(121, 74%, 32%)
HSVhsv(121, 85%, 56%)
CMYKcmyk(85.3%, 0%, 83.2%, 43.9%)
CIE-LABlab(51.69, -53.41, 49.36)
CIE-LCHlch(51.69, 72.73, 137.26°)
OKLaboklab(56.61% -0.1448 0.1096)
OKLCHoklch(56.61% 0.182 142.9)
XYZxyz(10.2959, 19.8690, 4.1564)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F18 #8F158C
analogous
#4F8F15 #158F18 #158F55
triadic
#158F18 #18158F #8F1815
tetradic
#158F18 #154F8F #8F158C #8F5515
square
#158F18 #154F8F #8F158C #8F5515
split-complementary
#158F18 #55158F #8F154F
monochromatic
#052406 #0D5A0F #158F18 #1DC421 #3CE240

Accessibility & contrast

On white

4.22
#158F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#158F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F18
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F18#FFFFFF#000000##000000
##158F181.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f18;
/* rgb */ color: rgb(21, 143, 24);
/* oklch */ color: oklch(56.6% 0.182 142.9);
Tailwind
colors: {
  custom: {
    50: '#6db160',
    500: '#158f18',
    950: '#000000',
  },
}
SCSS
$custom: #158f18;
$custom-light: #6db160;
$custom-dark: #000000;
JSON
{
  "hex": "#158f18",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 121.475,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56613,
    "c": 0.18162,
    "h": 142.9
  },
  "luminance": 0.1987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #158F18

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

Preview Lab → · Contrast checker → · Palette generator →

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