#158C1C#158C1C

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

Color values

HEX#158C1C
RGBrgb(21, 140, 28)
HSLhsl(124, 74%, 32%)
HSVhsv(124, 85%, 55%)
CMYKcmyk(85%, 0%, 80%, 45.1%)
CIE-LABlab(50.69, -52.21, 47.16)
CIE-LCHlch(50.69, 70.36, 137.91°)
OKLaboklab(55.78% -0.1414 0.1055)
OKLCHoklch(55.78% 0.176 143.3)
XYZxyz(9.8963, 18.9982, 4.2438)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158C1C #8C1585
analogous
#4A8C15 #158C1C #158C58
triadic
#158C1C #1C158C #8C1C15
tetradic
#158C1C #154A8C #8C1585 #8C5815
square
#158C1C #154A8C #8C1585 #8C5815
split-complementary
#158C1C #58158C #8C154A
monochromatic
#052207 #0D5711 #158C1C #1DC127 #3AE144

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158C1C#FFFFFF#000000##000000
##158C1C1.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)
#837529
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #158c1c;
/* rgb */ color: rgb(21, 140, 28);
/* oklch */ color: oklch(55.8% 0.176 143.3);
Tailwind
colors: {
  custom: {
    50: '#6caf62',
    500: '#158c1c',
    950: '#000000',
  },
}
SCSS
$custom: #158c1c;
$custom-light: #6caf62;
$custom-dark: #000000;
JSON
{
  "hex": "#158c1c",
  "rgb": {
    "r": 21,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 123.529,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55784,
    "c": 0.17645,
    "h": 143.3
  },
  "luminance": 0.18999
}

Semantic roles & 50–950 ramp

primary
#158C1C
secondary
#C03DB8
accent
#37E6F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #158C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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