#158C1A#158C1A

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

Color values

HEX#158C1A
RGBrgb(21, 140, 26)
HSLhsl(123, 74%, 32%)
HSVhsv(123, 85%, 55%)
CMYKcmyk(85%, 0%, 81.4%, 45.1%)
CIE-LABlab(50.67, -52.35, 47.80)
CIE-LCHlch(50.67, 70.89, 137.60°)
OKLaboklab(55.77% -0.1419 0.1066)
OKLCHoklch(55.77% 0.177 143.1)
XYZxyz(9.8731, 18.9890, 4.1220)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158C1A #8C1587
analogous
#4C8C15 #158C1A #158C56
triadic
#158C1A #1A158C #8C1A15
tetradic
#158C1A #154C8C #8C1587 #8C5615
square
#158C1A #154C8C #8C1587 #8C5615
split-complementary
#158C1A #56158C #8C154C
monochromatic
#052206 #0D5710 #158C1A #1DC124 #3AE141

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #158c1a;
/* rgb */ color: rgb(21, 140, 26);
/* oklch */ color: oklch(55.8% 0.177 143.1);
Tailwind
colors: {
  custom: {
    50: '#6caf61',
    500: '#158c1a',
    950: '#000000',
  },
}
SCSS
$custom: #158c1a;
$custom-light: #6caf61;
$custom-dark: #000000;
JSON
{
  "hex": "#158c1a",
  "rgb": {
    "r": 21,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 122.521,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55772,
    "c": 0.17745,
    "h": 143.1
  },
  "luminance": 0.1899
}

Semantic roles & 50–950 ramp

primary
#158C1A
secondary
#C03DBA
accent
#37E9F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #158C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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