#156012#156012

#156012 is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.8% C 0.131 H 142.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#156012
RGBrgb(21, 96, 18)
HSLhsl(118, 68%, 22%)
HSVhsv(118, 81%, 38%)
CMYKcmyk(78.1%, 0%, 81.3%, 62.4%)
CIE-LABlab(35.14, -38.20, 35.55)
CIE-LCHlch(35.14, 52.18, 137.06°)
OKLaboklab(42.83% -0.1039 0.0799)
OKLCHoklch(42.83% 0.131 142.4)
XYZxyz(4.6010, 8.5683, 1.9835)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#156012 #5D1260
analogous
#3C6012 #156012 #126036
triadic
#156012 #121560 #601215
tetradic
#156012 #123C60 #5D1260 #603612
square
#156012 #123C60 #5D1260 #603612
split-complementary
#156012 #361260 #60123C
monochromatic
#061A05 #0A2C08 #156012 #20941C #2CC725

Accessibility & contrast

On white

7.74
#156012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#156012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #156012
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##156012#FFFFFF#000000##FFFFFF
##1560121.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625602
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#005D51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #156012;
/* rgb */ color: rgb(21, 96, 18);
/* oklch */ color: oklch(42.8% 0.131 142.4);
Tailwind
colors: {
  custom: {
    50: '#618e56',
    500: '#156012',
    950: '#000000',
  },
}
SCSS
$custom: #156012;
$custom-light: #618e56;
$custom-dark: #000000;
JSON
{
  "hex": "#156012",
  "rgb": {
    "r": 21,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 117.692,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42834,
    "c": 0.13102,
    "h": 142.4
  },
  "luminance": 0.08569
}

Semantic roles & 50–950 ramp

primary
#156012
secondary
#943698
accent
#3DEBE5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #156012

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

Preview Lab → · Contrast checker → · Palette generator →

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