#166F2A#166F2A

#166F2A is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.132 H 146.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#166F2A
RGBrgb(22, 111, 42)
HSLhsl(133, 67%, 26%)
HSVhsv(133, 80%, 44%)
CMYKcmyk(80.2%, 0%, 62.2%, 56.5%)
CIE-LABlab(40.74, -40.83, 30.74)
CIE-LCHlch(40.74, 51.11, 143.02°)
OKLaboklab(47.56% -0.1099 0.0726)
OKLCHoklch(47.56% 0.132 146.5)
XYZxyz(6.4328, 11.7059, 4.1105)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F2A #6F165B
analogous
#2E6F16 #166F2A #166F56
triadic
#166F2A #2A166F #6F2A16
tetradic
#166F2A #162E6F #6F165B #6F5616
square
#166F2A #162E6F #6F165B #6F5616
split-complementary
#166F2A #56166F #6F162E
monochromatic
#051A0A #0C3C17 #166F2A #20A23D #2BD551

Accessibility & contrast

On white

6.28
#166F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#166F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F2A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F2A#FFFFFF#000000##FFFFFF
##166F2A1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716423
Deuteranopia (green-blind)
#675D30
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f2a;
/* rgb */ color: rgb(22, 111, 42);
/* oklch */ color: oklch(47.6% 0.132 146.5);
Tailwind
colors: {
  custom: {
    50: '#649966',
    500: '#166f2a',
    950: '#000000',
  },
}
SCSS
$custom: #166f2a;
$custom-light: #649966;
$custom-dark: #000000;
JSON
{
  "hex": "#166f2a",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 133.483,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47562,
    "c": 0.13175,
    "h": 146.5
  },
  "luminance": 0.11707
}

Semantic roles & 50–950 ramp

primary
#166F2A
secondary
#A53C8D
accent
#3EC3EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #166F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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