#166F22#166F22

#166F22 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.138 H 144.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#166F22
RGBrgb(22, 111, 34)
HSLhsl(128, 67%, 26%)
HSVhsv(128, 80%, 44%)
CMYKcmyk(80.2%, 0%, 69.4%, 56.5%)
CIE-LABlab(40.66, -41.84, 34.53)
CIE-LCHlch(40.66, 54.25, 140.47°)
OKLaboklab(47.47% -0.113 0.0799)
OKLCHoklch(47.47% 0.138 144.7)
XYZxyz(6.3036, 11.6542, 3.4303)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F22 #6F1663
analogous
#366F16 #166F22 #166F4E
triadic
#166F22 #22166F #6F2216
tetradic
#166F22 #16366F #6F1663 #6F4E16
square
#166F22 #16366F #6F1663 #6F4E16
split-complementary
#166F22 #4E166F #6F1636
monochromatic
#051A08 #0C3C12 #166F22 #20A232 #2BD541

Accessibility & contrast

On white

6.30
#166F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#166F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F22
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F22#FFFFFF#000000##FFFFFF
##166F221.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716418
Deuteranopia (green-blind)
#675D29
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f22;
/* rgb */ color: rgb(22, 111, 34);
/* oklch */ color: oklch(47.5% 0.138 144.7);
Tailwind
colors: {
  custom: {
    50: '#649961',
    500: '#166f22',
    950: '#000000',
  },
}
SCSS
$custom: #166f22;
$custom-light: #649961;
$custom-dark: #000000;
JSON
{
  "hex": "#166f22",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 128.09,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47466,
    "c": 0.13838,
    "h": 144.7
  },
  "luminance": 0.11655
}

Semantic roles & 50–950 ramp

primary
#166F22
secondary
#A53C97
accent
#3ED3EA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #166F22

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

Preview Lab → · Contrast checker → · Palette generator →

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