#158F30#158F30

#158F30 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.167 H 145.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#158F30
RGBrgb(21, 143, 48)
HSLhsl(133, 74%, 32%)
HSVhsv(133, 85%, 56%)
CMYKcmyk(85.3%, 0%, 66.4%, 43.9%)
CIE-LABlab(51.86, -51.32, 40.48)
CIE-LCHlch(51.86, 65.36, 141.74°)
OKLaboklab(56.81% -0.1382 0.0941)
OKLCHoklch(56.81% 0.167 145.8)
XYZxyz(10.6644, 20.0164, 6.0972)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F30 #8F1574
analogous
#378F15 #158F30 #158F6D
triadic
#158F30 #30158F #8F3015
tetradic
#158F30 #15378F #8F1574 #8F6D15
square
#158F30 #15378F #8F1574 #8F6D15
split-complementary
#158F30 #6D158F #8F1537
monochromatic
#05240C #0D5A1E #158F30 #1DC442 #3CE261

Accessibility & contrast

On white

4.20
#158F30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#158F30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F30
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F30#FFFFFF#000000##000000
##158F301.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918124
Deuteranopia (green-blind)
#847839
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #158f30;
/* rgb */ color: rgb(21, 143, 48);
/* oklch */ color: oklch(56.8% 0.167 145.8);
Tailwind
colors: {
  custom: {
    50: '#6cb16d',
    500: '#158f30',
    950: '#000000',
  },
}
SCSS
$custom: #158f30;
$custom-light: #6cb16d;
$custom-dark: #000000;
JSON
{
  "hex": "#158f30",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 48
  },
  "hsl": {
    "h": 133.279,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56806,
    "c": 0.16714,
    "h": 145.8
  },
  "luminance": 0.20018
}

Semantic roles & 50–950 ramp

primary
#158F30
secondary
#C23EA5
accent
#37C8F1
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #158F30

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

Preview Lab → · Contrast checker → · Palette generator →

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