#158012#158012

#158012 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.168 H 142.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#158012
RGBrgb(21, 128, 18)
HSLhsl(118, 75%, 29%)
HSVhsv(118, 86%, 50%)
CMYKcmyk(83.6%, 0%, 85.9%, 49.8%)
CIE-LABlab(46.50, -49.03, 46.28)
CIE-LCHlch(46.50, 67.42, 136.65°)
OKLaboklab(52.28% -0.1332 0.1023)
OKLCHoklch(52.28% 0.168 142.5)
XYZxyz(8.1371, 15.6405, 3.1622)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158012 #7D1280
analogous
#4C8012 #158012 #128046
triadic
#158012 #121580 #801215
tetradic
#158012 #124C80 #7D1280 #804612
square
#158012 #124C80 #7D1280 #804612
split-complementary
#158012 #461280 #80124C
monochromatic
#041B04 #0C4A0A #158012 #1EB61A #30E12B

Accessibility & contrast

On white

5.09
#158012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#158012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158012
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158012#FFFFFF#000000##FFFFFF
##1580121.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#007C6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #158012;
/* rgb */ color: rgb(21, 128, 18);
/* oklch */ color: oklch(52.3% 0.168 142.5);
Tailwind
colors: {
  custom: {
    50: '#69a65c',
    500: '#158012',
    950: '#000000',
  },
}
SCSS
$custom: #158012;
$custom-light: #69a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#158012",
  "rgb": {
    "r": 21,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 118.364,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52282,
    "c": 0.16792,
    "h": 142.5
  },
  "luminance": 0.15641
}

Semantic roles & 50–950 ramp

primary
#158012
secondary
#B238B6
accent
#36F2ED
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #158012

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

Preview Lab → · Contrast checker → · Palette generator →

#158012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva