#158F1A#158F1A

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

Color values

HEX#158F1A
RGBrgb(21, 143, 26)
HSLhsl(122, 74%, 32%)
HSVhsv(122, 85%, 56%)
CMYKcmyk(85.3%, 0%, 81.8%, 43.9%)
CIE-LABlab(51.70, -53.29, 48.77)
CIE-LCHlch(51.70, 72.24, 137.53°)
OKLaboklab(56.63% -0.1444 0.1086)
OKLCHoklch(56.63% 0.181 143.1)
XYZxyz(10.3175, 19.8776, 4.2701)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F1A #8F158A
analogous
#4D8F15 #158F1A #158F57
triadic
#158F1A #1A158F #8F1A15
tetradic
#158F1A #154D8F #8F158A #8F5715
square
#158F1A #154D8F #8F158A #8F5715
split-complementary
#158F1A #57158F #8F154D
monochromatic
#052407 #0D5A10 #158F1A #1DC424 #3CE243

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158F1A#FFFFFF#000000##000000
##158F1A1.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: #158f1a;
/* rgb */ color: rgb(21, 143, 26);
/* oklch */ color: oklch(56.6% 0.181 143.1);
Tailwind
colors: {
  custom: {
    50: '#6db161',
    500: '#158f1a',
    950: '#000000',
  },
}
SCSS
$custom: #158f1a;
$custom-light: #6db161;
$custom-dark: #000000;
JSON
{
  "hex": "#158f1a",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 122.459,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56625,
    "c": 0.18072,
    "h": 143.1
  },
  "luminance": 0.19879
}

Semantic roles & 50–950 ramp

primary
#158F1A
secondary
#C23EBD
accent
#37E9F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #158F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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