#156312#156312

#156312 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.7% C 0.135 H 142.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#156312
RGBrgb(21, 99, 18)
HSLhsl(118, 69%, 23%)
HSVhsv(118, 82%, 39%)
CMYKcmyk(78.8%, 0%, 81.8%, 61.2%)
CIE-LABlab(36.23, -39.28, 36.61)
CIE-LCHlch(36.23, 53.69, 137.01°)
OKLaboklab(43.74% -0.1068 0.0821)
OKLCHoklch(43.74% 0.135 142.4)
XYZxyz(4.8800, 9.1262, 2.0765)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#156312 #601263
analogous
#3D6312 #156312 #126337
triadic
#156312 #121563 #631215
tetradic
#156312 #123D63 #601263 #633712
square
#156312 #123D63 #601263 #633712
split-complementary
#156312 #371263 #63123D
monochromatic
#051A05 #0A2F09 #156312 #20971B #2BCB25

Accessibility & contrast

On white

7.43
#156312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#156312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #156312
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##156312#FFFFFF#000000##FFFFFF
##1563121.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655901
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#006054
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #156312;
/* rgb */ color: rgb(21, 99, 18);
/* oklch */ color: oklch(43.7% 0.135 142.4);
Tailwind
colors: {
  custom: {
    50: '#629057',
    500: '#156312',
    950: '#000000',
  },
}
SCSS
$custom: #156312;
$custom-light: #629057;
$custom-dark: #000000;
JSON
{
  "hex": "#156312",
  "rgb": {
    "r": 21,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 117.778,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43736,
    "c": 0.13467,
    "h": 142.4
  },
  "luminance": 0.09127
}

Semantic roles & 50–950 ramp

primary
#156312
secondary
#97369B
accent
#3CECE6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D03
muted
#7A7D78

Preview Lab

Preview with #156312

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

Preview Lab → · Contrast checker → · Palette generator →

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