#166F12#166F12

#166F12 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.3% C 0.149 H 142.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#166F12
RGBrgb(22, 111, 18)
HSLhsl(117, 72%, 25%)
HSVhsv(117, 84%, 44%)
CMYKcmyk(80.2%, 0%, 83.8%, 56.5%)
CIE-LABlab(40.54, -43.28, 40.76)
CIE-LCHlch(40.54, 59.45, 136.72°)
OKLaboklab(47.33% -0.1177 0.0907)
OKLCHoklch(47.33% 0.149 142.4)
XYZxyz(6.1241, 11.5824, 2.4850)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F12 #6B126F
analogous
#456F12 #166F12 #126F3C
triadic
#166F12 #12166F #6F1216
tetradic
#166F12 #12456F #6B126F #6F3C12
square
#166F12 #12456F #6B126F #6F3C12
split-complementary
#166F12 #3C126F #6F1245
monochromatic
#051A04 #0C3A09 #166F12 #20A41B #2BD823

Accessibility & contrast

On white

6.33
#166F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#166F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F12
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F12#FFFFFF#000000##FFFFFF
##166F121.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f12;
/* rgb */ color: rgb(22, 111, 18);
/* oklch */ color: oklch(47.3% 0.149 142.4);
Tailwind
colors: {
  custom: {
    50: '#659959',
    500: '#166f12',
    950: '#000000',
  },
}
SCSS
$custom: #166f12;
$custom-light: #659959;
$custom-dark: #000000;
JSON
{
  "hex": "#166f12",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 117.419,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47332,
    "c": 0.14857,
    "h": 142.4
  },
  "luminance": 0.11583
}

Semantic roles & 50–950 ramp

primary
#166F12
secondary
#A137A6
accent
#39EFE7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #166F12

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

Preview Lab → · Contrast checker → · Palette generator →

#166F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva