#164C12#164C12

#164C12 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.105 H 142.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#164C12
RGBrgb(22, 76, 18)
HSLhsl(116, 62%, 18%)
HSVhsv(116, 76%, 30%)
CMYKcmyk(71.1%, 0%, 76.3%, 70.2%)
CIE-LABlab(27.80, -30.35, 28.09)
CIE-LCHlch(27.80, 41.35, 137.21°)
OKLaboklab(36.75% -0.0827 0.0643)
OKLCHoklch(36.75% 0.105 142.1)
XYZxyz(3.0243, 5.3828, 1.4518)
Luminance0.0538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164C12 #48124C
analogous
#334C12 #164C12 #124C2B
triadic
#164C12 #12164C #4C1216
tetradic
#164C12 #12334C #48124C #4C2B12
square
#164C12 #12334C #48124C #4C2B12
split-complementary
#164C12 #2B124C #4C1233
monochromatic
#071906 #081B06 #164C12 #247D1E #33AF29

Accessibility & contrast

On white

10.11
#164C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#164C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164C12
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164C12#FFFFFF#000000##FFFFFF
##164C121.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4409
Deuteranopia (green-blind)
#474018
Tritanopia (blue-blind)
#0B4940
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #164c12;
/* rgb */ color: rgb(22, 76, 18);
/* oklch */ color: oklch(36.8% 0.105 142.1);
Tailwind
colors: {
  custom: {
    50: '#5c7f53',
    500: '#164c12',
    950: '#000000',
  },
}
SCSS
$custom: #164c12;
$custom-light: #5c7f53;
$custom-dark: #000000;
JSON
{
  "hex": "#164c12",
  "rgb": {
    "r": 22,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 115.862,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36754,
    "c": 0.10471,
    "h": 142.1
  },
  "luminance": 0.05383
}

Semantic roles & 50–950 ramp

primary
#164C12
secondary
#7F3585
accent
#43E5DA
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #164C12

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

Preview Lab → · Contrast checker → · Palette generator →

#164C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva