#158F1C#158F1C

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

Color values

HEX#158F1C
RGBrgb(21, 143, 28)
HSLhsl(123, 74%, 32%)
HSVhsv(123, 85%, 56%)
CMYKcmyk(85.3%, 0%, 80.4%, 43.9%)
CIE-LABlab(51.71, -53.16, 48.15)
CIE-LCHlch(51.71, 71.72, 137.83°)
OKLaboklab(56.64% -0.144 0.1076)
OKLCHoklch(56.64% 0.18 143.2)
XYZxyz(10.3406, 19.8869, 4.3919)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F1C #8F1588
analogous
#4B8F15 #158F1C #158F59
triadic
#158F1C #1C158F #8F1C15
tetradic
#158F1C #154B8F #8F1588 #8F5915
square
#158F1C #154B8F #8F1588 #8F5915
split-complementary
#158F1C #59158F #8F154B
monochromatic
#052407 #0D5A12 #158F1C #1DC426 #3CE246

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158F1C#FFFFFF#000000##000000
##158F1C1.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)
#86782A
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f1c;
/* rgb */ color: rgb(21, 143, 28);
/* oklch */ color: oklch(56.6% 0.180 143.2);
Tailwind
colors: {
  custom: {
    50: '#6db162',
    500: '#158f1c',
    950: '#000000',
  },
}
SCSS
$custom: #158f1c;
$custom-light: #6db162;
$custom-dark: #000000;
JSON
{
  "hex": "#158f1c",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 123.443,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56637,
    "c": 0.17975,
    "h": 143.2
  },
  "luminance": 0.19888
}

Semantic roles & 50–950 ramp

primary
#158F1C
secondary
#C23EBA
accent
#37E6F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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