#166512#166512

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

Color values

HEX#166512
RGBrgb(22, 101, 18)
HSLhsl(117, 70%, 23%)
HSVhsv(117, 82%, 40%)
CMYKcmyk(78.2%, 0%, 82.2%, 60.4%)
CIE-LABlab(36.97, -39.81, 37.34)
CIE-LCHlch(36.97, 54.58, 136.83°)
OKLaboklab(44.36% -0.1083 0.0836)
OKLCHoklch(44.36% 0.137 142.3)
XYZxyz(5.0934, 9.5210, 2.1415)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166512 #611265
analogous
#3F6512 #166512 #126537
triadic
#166512 #121665 #651216
tetradic
#166512 #123F65 #611265 #653712
square
#166512 #123F65 #611265 #653712
split-complementary
#166512 #371265 #65123F
monochromatic
#061A05 #0B3109 #166512 #21991B #2DCD25

Accessibility & contrast

On white

7.23
#166512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #166512
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166512#FFFFFF#000000##FFFFFF
##1665121.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.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: #166512;
/* rgb */ color: rgb(22, 101, 18);
/* oklch */ color: oklch(44.4% 0.137 142.3);
Tailwind
colors: {
  custom: {
    50: '#629257',
    500: '#166512',
    950: '#000000',
  },
}
SCSS
$custom: #166512;
$custom-light: #629257;
$custom-dark: #000000;
JSON
{
  "hex": "#166512",
  "rgb": {
    "r": 22,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 117.108,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44359,
    "c": 0.13678,
    "h": 142.3
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#166512
secondary
#98369D
accent
#3BEDE4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #166512

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

Preview Lab → · Contrast checker → · Palette generator →

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