#158C23#158C23

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

Color values

HEX#158C23
RGBrgb(21, 140, 35)
HSLhsl(127, 74%, 32%)
HSVhsv(127, 85%, 55%)
CMYKcmyk(85%, 0%, 75%, 45.1%)
CIE-LABlab(50.73, -51.66, 44.71)
CIE-LCHlch(50.73, 68.32, 139.13°)
OKLaboklab(55.83% -0.1396 0.1014)
OKLCHoklch(55.83% 0.173 144)
XYZxyz(9.9900, 19.0357, 4.7375)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158C23 #8C157E
analogous
#438C15 #158C23 #158C5F
triadic
#158C23 #23158C #8C2315
tetradic
#158C23 #15438C #8C157E #8C5F15
square
#158C23 #15438C #8C157E #8C5F15
split-complementary
#158C23 #5F158C #8C1543
monochromatic
#052208 #0D5716 #158C23 #1DC130 #3AE14E

Accessibility & contrast

On white

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

On black

4.81
#158C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158C23
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158C23#FFFFFF#000000##000000
##158C231.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #158c23;
/* rgb */ color: rgb(21, 140, 35);
/* oklch */ color: oklch(55.8% 0.173 144.0);
Tailwind
colors: {
  custom: {
    50: '#6caf65',
    500: '#158c23',
    950: '#000000',
  },
}
SCSS
$custom: #158c23;
$custom-light: #6caf65;
$custom-dark: #000000;
JSON
{
  "hex": "#158c23",
  "rgb": {
    "r": 21,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 127.059,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55834,
    "c": 0.17254,
    "h": 144
  },
  "luminance": 0.19037
}

Semantic roles & 50–950 ramp

primary
#158C23
secondary
#C03DB0
accent
#37DBF1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158C23

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

Preview Lab → · Contrast checker → · Palette generator →

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