#158918#158918

#158918 is a mid, vivid green. Relative luminance 0.181; OKLCH L 54.9% C 0.175 H 142.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#158918
RGBrgb(21, 137, 24)
HSLhsl(122, 73%, 31%)
HSVhsv(122, 85%, 54%)
CMYKcmyk(84.7%, 0%, 82.5%, 46.3%)
CIE-LABlab(49.64, -51.53, 47.44)
CIE-LCHlch(49.64, 70.04, 137.37°)
OKLaboklab(54.9% -0.1397 0.1055)
OKLCHoklch(54.9% 0.175 142.9)
XYZxyz(9.4192, 18.1155, 3.8642)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158918 #891586
analogous
#4C8915 #158918 #158952
triadic
#158918 #181589 #891815
tetradic
#158918 #154C89 #891586 #895215
square
#158918 #154C89 #891586 #895215
split-complementary
#158918 #521589 #89154C
monochromatic
#051F05 #0D540F #158918 #1DBE21 #38E03C

Accessibility & contrast

On white

4.54
#158918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#158918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158918
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158918#FFFFFF#000000##000000
##1589181.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #158918;
/* rgb */ color: rgb(21, 137, 24);
/* oklch */ color: oklch(54.9% 0.175 142.9);
Tailwind
colors: {
  custom: {
    50: '#6cad5f',
    500: '#158918',
    950: '#000000',
  },
}
SCSS
$custom: #158918;
$custom-light: #6cad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#158918",
  "rgb": {
    "r": 21,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 121.552,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54904,
    "c": 0.17512,
    "h": 142.9
  },
  "luminance": 0.18117
}

Semantic roles & 50–950 ramp

primary
#158918
secondary
#BD3DBA
accent
#38EBF0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #158918

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

Preview Lab → · Contrast checker → · Palette generator →

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