#158C1F#158C1F

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

Color values

HEX#158C1F
RGBrgb(21, 140, 31)
HSLhsl(125, 74%, 32%)
HSVhsv(125, 85%, 55%)
CMYKcmyk(85%, 0%, 77.9%, 45.1%)
CIE-LABlab(50.70, -51.99, 46.15)
CIE-LCHlch(50.70, 69.52, 138.40°)
OKLaboklab(55.8% -0.1407 0.1039)
OKLCHoklch(55.8% 0.175 143.6)
XYZxyz(9.9340, 19.0133, 4.4424)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158C1F #8C1582
analogous
#478C15 #158C1F #158C5B
triadic
#158C1F #1F158C #8C1F15
tetradic
#158C1F #15478C #8C1582 #8C5B15
square
#158C1F #15478C #8C1582 #8C5B15
split-complementary
#158C1F #5B158C #8C1547
monochromatic
#052207 #0D5713 #158C1F #1DC12B #3AE148

Accessibility & contrast

On white

4.37
#158C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##158C1F#FFFFFF#000000##000000
##158C1F1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#83752B
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #158c1f;
/* rgb */ color: rgb(21, 140, 31);
/* oklch */ color: oklch(55.8% 0.175 143.6);
Tailwind
colors: {
  custom: {
    50: '#6caf63',
    500: '#158c1f',
    950: '#000000',
  },
}
SCSS
$custom: #158c1f;
$custom-light: #6caf63;
$custom-dark: #000000;
JSON
{
  "hex": "#158c1f",
  "rgb": {
    "r": 21,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 125.042,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55804,
    "c": 0.17487,
    "h": 143.6
  },
  "luminance": 0.19015
}

Semantic roles & 50–950 ramp

primary
#158C1F
secondary
#C03DB5
accent
#37E1F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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