#156512#156512

#156512 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.3% C 0.137 H 142.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#156512
RGBrgb(21, 101, 18)
HSLhsl(118, 70%, 23%)
HSVhsv(118, 82%, 40%)
CMYKcmyk(79.2%, 0%, 82.2%, 60.4%)
CIE-LABlab(36.95, -39.98, 37.31)
CIE-LCHlch(36.95, 54.69, 136.98°)
OKLaboklab(44.34% -0.1087 0.0835)
OKLCHoklch(44.34% 0.137 142.5)
XYZxyz(5.0718, 9.5099, 2.1404)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#156512 #621265
analogous
#3E6512 #156512 #126538
triadic
#156512 #121565 #651215
tetradic
#156512 #123E65 #621265 #653812
square
#156512 #123E65 #621265 #653812
split-complementary
#156512 #381265 #65123E
monochromatic
#051A05 #0A3109 #156512 #20991B #2BCD25

Accessibility & contrast

On white

7.24
#156512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#156512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #156512
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##156512#FFFFFF#000000##FFFFFF
##1565121.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B00
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#006255
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #156512;
/* rgb */ color: rgb(21, 101, 18);
/* oklch */ color: oklch(44.3% 0.137 142.5);
Tailwind
colors: {
  custom: {
    50: '#629257',
    500: '#156512',
    950: '#000000',
  },
}
SCSS
$custom: #156512;
$custom-light: #629257;
$custom-dark: #000000;
JSON
{
  "hex": "#156512",
  "rgb": {
    "r": 21,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 117.831,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44336,
    "c": 0.13709,
    "h": 142.5
  },
  "luminance": 0.0951
}

Semantic roles & 50–950 ramp

primary
#156512
secondary
#99369D
accent
#3BEDE6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #156512

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

Preview Lab → · Contrast checker → · Palette generator →

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