#158C1B#158C1B

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

Color values

HEX#158C1B
RGBrgb(21, 140, 27)
HSLhsl(123, 74%, 32%)
HSVhsv(123, 85%, 55%)
CMYKcmyk(85%, 0%, 80.7%, 45.1%)
CIE-LABlab(50.68, -52.28, 47.49)
CIE-LCHlch(50.68, 70.63, 137.75°)
OKLaboklab(55.78% -0.1416 0.1061)
OKLCHoklch(55.78% 0.177 143.2)
XYZxyz(9.8845, 18.9935, 4.1819)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158C1B #8C1586
analogous
#4B8C15 #158C1B #158C57
triadic
#158C1B #1B158C #8C1B15
tetradic
#158C1B #154B8C #8C1586 #8C5715
square
#158C1B #154B8C #8C1586 #8C5715
split-complementary
#158C1B #57158C #8C154B
monochromatic
#052206 #0D5711 #158C1B #1DC125 #3AE142

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158C1B#FFFFFF#000000##000000
##158C1B1.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: #158c1b;
/* rgb */ color: rgb(21, 140, 27);
/* oklch */ color: oklch(55.8% 0.177 143.2);
Tailwind
colors: {
  custom: {
    50: '#6caf61',
    500: '#158c1b',
    950: '#000000',
  },
}
SCSS
$custom: #158c1b;
$custom-light: #6caf61;
$custom-dark: #000000;
JSON
{
  "hex": "#158c1b",
  "rgb": {
    "r": 21,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 123.025,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55778,
    "c": 0.17696,
    "h": 143.2
  },
  "luminance": 0.18995
}

Semantic roles & 50–950 ramp

primary
#158C1B
secondary
#C03DB9
accent
#37E7F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #158C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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