#158D23#158D23

#158D23 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.174 H 144.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#158D23
RGBrgb(21, 141, 35)
HSLhsl(127, 74%, 32%)
HSVhsv(127, 85%, 55%)
CMYKcmyk(85.1%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.07, -51.98, 45.05)
CIE-LCHlch(51.07, 68.79, 139.08°)
OKLaboklab(56.12% -0.1405 0.1021)
OKLCHoklch(56.12% 0.174 144)
XYZxyz(10.1368, 19.3293, 4.7865)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158D23 #8D157F
analogous
#438D15 #158D23 #158D5F
triadic
#158D23 #23158D #8D2315
tetradic
#158D23 #15438D #8D157F #8D5F15
square
#158D23 #15438D #8D157F #8D5F15
split-complementary
#158D23 #5F158D #8D1543
monochromatic
#052209 #0D5816 #158D23 #1DC230 #3BE24E

Accessibility & contrast

On white

4.32
#158D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#158D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158D23
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158D23#FFFFFF#000000##000000
##158D231.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158d23;
/* rgb */ color: rgb(21, 141, 35);
/* oklch */ color: oklch(56.1% 0.174 144.0);
Tailwind
colors: {
  custom: {
    50: '#6cb065',
    500: '#158d23',
    950: '#000000',
  },
}
SCSS
$custom: #158d23;
$custom-light: #6cb065;
$custom-dark: #000000;
JSON
{
  "hex": "#158d23",
  "rgb": {
    "r": 21,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 127,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56119,
    "c": 0.17367,
    "h": 144
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

primary
#158D23
secondary
#C13DB1
accent
#37DBF1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158D23

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

Preview Lab → · Contrast checker → · Palette generator →

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