#166412#166412

#166412 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.1% C 0.136 H 142.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#166412
RGBrgb(22, 100, 18)
HSLhsl(117, 69%, 23%)
HSVhsv(117, 82%, 39%)
CMYKcmyk(78%, 0%, 82%, 60.8%)
CIE-LABlab(36.61, -39.45, 36.99)
CIE-LCHlch(36.61, 54.08, 136.84°)
OKLaboklab(44.06% -0.1073 0.0829)
OKLCHoklch(44.06% 0.136 142.3)
XYZxyz(4.9969, 9.3280, 2.1093)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166412 #601264
analogous
#3F6412 #166412 #126437
triadic
#166412 #121664 #641216
tetradic
#166412 #123F64 #601264 #643712
square
#166412 #123F64 #601264 #643712
split-complementary
#166412 #371264 #64123F
monochromatic
#061A05 #0B3009 #166412 #21981B #2DCC25

Accessibility & contrast

On white

7.33
#166412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#166412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166412
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166412#FFFFFF#000000##FFFFFF
##1664121.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A01
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#006155
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #166412;
/* rgb */ color: rgb(22, 100, 18);
/* oklch */ color: oklch(44.1% 0.136 142.3);
Tailwind
colors: {
  custom: {
    50: '#629157',
    500: '#166412',
    950: '#000000',
  },
}
SCSS
$custom: #166412;
$custom-light: #629157;
$custom-dark: #000000;
JSON
{
  "hex": "#166412",
  "rgb": {
    "r": 22,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 117.073,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4406,
    "c": 0.13557,
    "h": 142.3
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

primary
#166412
secondary
#97369C
accent
#3BECE4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #166412

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

Preview Lab → · Contrast checker → · Palette generator →

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