#158E30#158E30

#158E30 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.166 H 145.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#158E30
RGBrgb(21, 142, 48)
HSLhsl(133, 74%, 32%)
HSVhsv(133, 85%, 56%)
CMYKcmyk(85.2%, 0%, 66.2%, 44.3%)
CIE-LABlab(51.52, -50.99, 40.10)
CIE-LCHlch(51.52, 64.87, 141.82°)
OKLaboklab(56.52% -0.1373 0.0933)
OKLCHoklch(56.52% 0.166 145.8)
XYZxyz(10.5150, 19.7175, 6.0474)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E30 #8E1573
analogous
#378E15 #158E30 #158E6C
triadic
#158E30 #30158E #8E3015
tetradic
#158E30 #15378E #8E1573 #8E6C15
square
#158E30 #15378E #8E1573 #8E6C15
split-complementary
#158E30 #6C158E #8E1537
monochromatic
#05230C #0D591E #158E30 #1DC342 #3BE261

Accessibility & contrast

On white

4.25
#158E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#158E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158E30
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158E30#FFFFFF#000000##000000
##158E301.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908024
Deuteranopia (green-blind)
#837738
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158e30;
/* rgb */ color: rgb(21, 142, 48);
/* oklch */ color: oklch(56.5% 0.166 145.8);
Tailwind
colors: {
  custom: {
    50: '#6cb06c',
    500: '#158e30',
    950: '#000000',
  },
}
SCSS
$custom: #158e30;
$custom-light: #6cb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#158e30",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 133.388,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56524,
    "c": 0.16594,
    "h": 145.8
  },
  "luminance": 0.19719
}

Semantic roles & 50–950 ramp

primary
#158E30
secondary
#C23DA4
accent
#37C7F1
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #158E30

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

Preview Lab → · Contrast checker → · Palette generator →

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