#158F1B#158F1B

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

Color values

HEX#158F1B
RGBrgb(21, 143, 27)
HSLhsl(123, 74%, 32%)
HSVhsv(123, 85%, 56%)
CMYKcmyk(85.3%, 0%, 81.1%, 43.9%)
CIE-LABlab(51.70, -53.22, 48.46)
CIE-LCHlch(51.70, 71.98, 137.68°)
OKLaboklab(56.63% -0.1442 0.1081)
OKLCHoklch(56.63% 0.18 143.1)
XYZxyz(10.3289, 19.8822, 4.3300)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F1B #8F1589
analogous
#4C8F15 #158F1B #158F58
triadic
#158F1B #1B158F #8F1B15
tetradic
#158F1B #154C8F #8F1589 #8F5815
square
#158F1B #154C8F #8F1589 #8F5815
split-complementary
#158F1B #58158F #8F154C
monochromatic
#052407 #0D5A11 #158F1B #1DC425 #3CE244

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158F1B#FFFFFF#000000##000000
##158F1B1.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)
#928100
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f1b;
/* rgb */ color: rgb(21, 143, 27);
/* oklch */ color: oklch(56.6% 0.180 143.1);
Tailwind
colors: {
  custom: {
    50: '#6db162',
    500: '#158f1b',
    950: '#000000',
  },
}
SCSS
$custom: #158f1b;
$custom-light: #6db162;
$custom-dark: #000000;
JSON
{
  "hex": "#158f1b",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 122.951,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56631,
    "c": 0.18024,
    "h": 143.1
  },
  "luminance": 0.19883
}

Semantic roles & 50–950 ramp

primary
#158F1B
secondary
#C23EBC
accent
#37E8F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #158F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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