#158F1F#158F1F

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

Color values

HEX#158F1F
RGBrgb(21, 143, 31)
HSLhsl(125, 74%, 32%)
HSVhsv(125, 85%, 56%)
CMYKcmyk(85.3%, 0%, 78.3%, 43.9%)
CIE-LABlab(51.73, -52.94, 47.16)
CIE-LCHlch(51.73, 70.90, 138.30°)
OKLaboklab(56.66% -0.1433 0.106)
OKLCHoklch(56.66% 0.178 143.5)
XYZxyz(10.3783, 19.9020, 4.5905)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F1F #8F1585
analogous
#488F15 #158F1F #158F5C
triadic
#158F1F #1F158F #8F1F15
tetradic
#158F1F #15488F #8F1585 #8F5C15
square
#158F1F #15488F #8F1585 #8F5C15
split-complementary
#158F1F #5C158F #8F1548
monochromatic
#052408 #0D5A13 #158F1F #1DC42B #3CE24A

Accessibility & contrast

On white

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

On black

4.98
#158F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F1F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F1F#FFFFFF#000000##000000
##158F1F1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f1f;
/* rgb */ color: rgb(21, 143, 31);
/* oklch */ color: oklch(56.7% 0.178 143.5);
Tailwind
colors: {
  custom: {
    50: '#6db163',
    500: '#158f1f',
    950: '#000000',
  },
}
SCSS
$custom: #158f1f;
$custom-light: #6db163;
$custom-dark: #000000;
JSON
{
  "hex": "#158f1f",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 124.918,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56656,
    "c": 0.1782,
    "h": 143.5
  },
  "luminance": 0.19903
}

Semantic roles & 50–950 ramp

primary
#158F1F
secondary
#C23EB7
accent
#37E2F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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