#158F23#158F23

#158F23 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.176 H 143.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#158F23
RGBrgb(21, 143, 35)
HSLhsl(127, 74%, 32%)
HSVhsv(127, 85%, 56%)
CMYKcmyk(85.3%, 0%, 75.5%, 43.9%)
CIE-LABlab(51.75, -52.62, 45.74)
CIE-LCHlch(51.75, 69.72, 139.00°)
OKLaboklab(56.69% -0.1422 0.1035)
OKLCHoklch(56.69% 0.176 143.9)
XYZxyz(10.4344, 19.9244, 4.8856)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F23 #8F1581
analogous
#448F15 #158F23 #158F60
triadic
#158F23 #23158F #8F2315
tetradic
#158F23 #15448F #8F1581 #8F6015
square
#158F23 #15448F #8F1581 #8F6015
split-complementary
#158F23 #60158F #8F1544
monochromatic
#052409 #0D5A16 #158F23 #1DC430 #3CE24F

Accessibility & contrast

On white

4.21
#158F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#158F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F23
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F23#FFFFFF#000000##000000
##158F231.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f23;
/* rgb */ color: rgb(21, 143, 35);
/* oklch */ color: oklch(56.7% 0.176 143.9);
Tailwind
colors: {
  custom: {
    50: '#6db165',
    500: '#158f23',
    950: '#000000',
  },
}
SCSS
$custom: #158f23;
$custom-light: #6db165;
$custom-dark: #000000;
JSON
{
  "hex": "#158f23",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 126.885,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56686,
    "c": 0.17593,
    "h": 143.9
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#158F23
secondary
#C23EB3
accent
#37DCF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158F23

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

Preview Lab → · Contrast checker → · Palette generator →

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