#158F12#158F12

#158F12 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.184 H 142.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#158F12
RGBrgb(21, 143, 18)
HSLhsl(119, 78%, 32%)
HSVhsv(119, 87%, 56%)
CMYKcmyk(85.3%, 0%, 87.4%, 43.9%)
CIE-LABlab(51.66, -53.73, 50.94)
CIE-LCHlch(51.66, 74.04, 136.53°)
OKLaboklab(56.58% -0.1459 0.1121)
OKLCHoklch(56.58% 0.184 142.5)
XYZxyz(10.2403, 19.8467, 3.8633)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F12 #8C128F
analogous
#548F12 #158F12 #128F4E
triadic
#158F12 #12158F #8F1215
tetradic
#158F12 #12548F #8C128F #8F4E12
square
#158F12 #12548F #8C128F #8F4E12
split-complementary
#158F12 #4E128F #8F1254
monochromatic
#052204 #0D590B #158F12 #1DC519 #3AE636

Accessibility & contrast

On white

4.23
#158F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#158F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F12
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F12#FFFFFF#000000##000000
##158F121.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f12;
/* rgb */ color: rgb(21, 143, 18);
/* oklch */ color: oklch(56.6% 0.184 142.5);
Tailwind
colors: {
  custom: {
    50: '#6eb15e',
    500: '#158f12',
    950: '#000000',
  },
}
SCSS
$custom: #158f12;
$custom-light: #6eb15e;
$custom-dark: #000000;
JSON
{
  "hex": "#158f12",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 118.56,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56584,
    "c": 0.184,
    "h": 142.5
  },
  "luminance": 0.19848
}

Semantic roles & 50–950 ramp

primary
#158F12
secondary
#C03AC3
accent
#34F4F0
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#091105
muted
#7B8079

Preview Lab

Preview with #158F12

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

Preview Lab → · Contrast checker → · Palette generator →

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