#158F15#158F15

#158F15 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.6% C 0.183 H 142.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#158F15
RGBrgb(21, 143, 21)
HSLhsl(120, 74%, 32%)
HSVhsv(120, 85%, 56%)
CMYKcmyk(85.3%, 0%, 85.3%, 43.9%)
CIE-LABlab(51.68, -53.58, 50.19)
CIE-LCHlch(51.68, 73.42, 136.87°)
OKLaboklab(56.6% -0.1454 0.1109)
OKLCHoklch(56.6% 0.183 142.7)
XYZxyz(10.2664, 19.8572, 4.0011)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F15 #8F158F
analogous
#528F15 #158F15 #158F52
triadic
#158F15 #15158F #8F1515
tetradic
#158F15 #15528F #8F158F #8F5215
square
#158F15 #15528F #8F158F #8F5215
split-complementary
#158F15 #52158F #8F1552
monochromatic
#052405 #0D5A0D #158F15 #1DC41D #3CE23C

Accessibility & contrast

On white

4.22
#158F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#158F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F15
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F15#FFFFFF#000000##000000
##158F151.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f15;
/* rgb */ color: rgb(21, 143, 21);
/* oklch */ color: oklch(56.6% 0.183 142.7);
Tailwind
colors: {
  custom: {
    50: '#6db15f',
    500: '#158f15',
    950: '#000000',
  },
}
SCSS
$custom: #158f15;
$custom-light: #6db15f;
$custom-dark: #000000;
JSON
{
  "hex": "#158f15",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 120,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56598,
    "c": 0.18287,
    "h": 142.7
  },
  "luminance": 0.19858
}

Semantic roles & 50–950 ramp

primary
#158F15
secondary
#C23EC2
accent
#37F1F1
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#091105
muted
#7B8079

Preview Lab

Preview with #158F15

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

Preview Lab → · Contrast checker → · Palette generator →

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