#158F1E#158F1E

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

Color values

HEX#158F1E
RGBrgb(21, 143, 30)
HSLhsl(124, 74%, 32%)
HSVhsv(124, 85%, 56%)
CMYKcmyk(85.3%, 0%, 79%, 43.9%)
CIE-LABlab(51.72, -53.01, 47.50)
CIE-LCHlch(51.72, 71.18, 138.14°)
OKLaboklab(56.65% -0.1435 0.1065)
OKLCHoklch(56.65% 0.179 143.4)
XYZxyz(10.3654, 19.8968, 4.5222)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F1E #8F1586
analogous
#498F15 #158F1E #158F5B
triadic
#158F1E #1E158F #8F1E15
tetradic
#158F1E #15498F #8F1586 #8F5B15
square
#158F1E #15498F #8F1586 #8F5B15
split-complementary
#158F1E #5B158F #8F1549
monochromatic
#052408 #0D5A13 #158F1E #1DC429 #3CE248

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158F1E#FFFFFF#000000##000000
##158F1E1.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)
#928101
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f1e;
/* rgb */ color: rgb(21, 143, 30);
/* oklch */ color: oklch(56.6% 0.179 143.4);
Tailwind
colors: {
  custom: {
    50: '#6db163',
    500: '#158f1e',
    950: '#000000',
  },
}
SCSS
$custom: #158f1e;
$custom-light: #6db163;
$custom-dark: #000000;
JSON
{
  "hex": "#158f1e",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 124.426,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5665,
    "c": 0.17872,
    "h": 143.4
  },
  "luminance": 0.19898
}

Semantic roles & 50–950 ramp

primary
#158F1E
secondary
#C23EB8
accent
#37E3F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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