#158E23#158E23

#158E23 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.175 H 144.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#158E23
RGBrgb(21, 142, 35)
HSLhsl(127, 74%, 32%)
HSVhsv(127, 85%, 56%)
CMYKcmyk(85.2%, 0%, 75.4%, 44.3%)
CIE-LABlab(51.41, -52.30, 45.40)
CIE-LCHlch(51.41, 69.26, 139.04°)
OKLaboklab(56.4% -0.1414 0.1028)
OKLCHoklch(56.4% 0.175 144)
XYZxyz(10.2849, 19.6255, 4.8358)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E23 #8E1580
analogous
#448E15 #158E23 #158E60
triadic
#158E23 #23158E #8E2315
tetradic
#158E23 #15448E #8E1580 #8E6015
square
#158E23 #15448E #8E1580 #8E6015
split-complementary
#158E23 #60158E #8E1544
monochromatic
#052309 #0D5916 #158E23 #1DC330 #3BE24F

Accessibility & contrast

On white

4.26
#158E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#158E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158E23
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158E23#FFFFFF#000000##000000
##158E231.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158e23;
/* rgb */ color: rgb(21, 142, 35);
/* oklch */ color: oklch(56.4% 0.175 144.0);
Tailwind
colors: {
  custom: {
    50: '#6cb065',
    500: '#158e23',
    950: '#000000',
  },
}
SCSS
$custom: #158e23;
$custom-light: #6cb065;
$custom-dark: #000000;
JSON
{
  "hex": "#158e23",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 126.942,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56402,
    "c": 0.1748,
    "h": 144
  },
  "luminance": 0.19627
}

Semantic roles & 50–950 ramp

primary
#158E23
secondary
#C23DB2
accent
#37DBF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158E23

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

Preview Lab → · Contrast checker → · Palette generator →

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