#166912#166912

#166912 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.142 H 142.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#166912
RGBrgb(22, 105, 18)
HSLhsl(117, 71%, 24%)
HSVhsv(117, 83%, 41%)
CMYKcmyk(79%, 0%, 82.9%, 58.8%)
CIE-LABlab(38.41, -41.21, 38.72)
CIE-LCHlch(38.41, 56.55, 136.78°)
OKLaboklab(45.55% -0.1121 0.0865)
OKLCHoklch(45.55% 0.142 142.3)
XYZxyz(5.4913, 10.3168, 2.2741)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166912 #651269
analogous
#426912 #166912 #12693A
triadic
#166912 #121669 #691216
tetradic
#166912 #124269 #651269 #693A12
square
#166912 #124269 #651269 #693A12
split-complementary
#166912 #3A1269 #691242
monochromatic
#051A04 #0B3509 #166912 #219D1B #2CD124

Accessibility & contrast

On white

6.86
#166912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#166912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166912
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166912#FFFFFF#000000##FFFFFF
##1669121.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166912;
/* rgb */ color: rgb(22, 105, 18);
/* oklch */ color: oklch(45.6% 0.142 142.3);
Tailwind
colors: {
  custom: {
    50: '#639558',
    500: '#166912',
    950: '#000000',
  },
}
SCSS
$custom: #166912;
$custom-light: #639558;
$custom-dark: #000000;
JSON
{
  "hex": "#166912",
  "rgb": {
    "r": 22,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 117.241,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45553,
    "c": 0.14156,
    "h": 142.3
  },
  "luminance": 0.10317
}

Semantic roles & 50–950 ramp

primary
#166912
secondary
#9C36A1
accent
#3AEDE5
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166912

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

Preview Lab → · Contrast checker → · Palette generator →

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