#166F2B#166F2B

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

Color values

HEX#166F2B
RGBrgb(22, 111, 43)
HSLhsl(134, 67%, 26%)
HSVhsv(134, 80%, 44%)
CMYKcmyk(80.2%, 0%, 61.3%, 56.5%)
CIE-LABlab(40.76, -40.69, 30.25)
CIE-LCHlch(40.76, 50.70, 143.37°)
OKLaboklab(47.58% -0.1095 0.0717)
OKLCHoklch(47.58% 0.131 146.8)
XYZxyz(6.4509, 11.7131, 4.2059)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F2B #6F165A
analogous
#2D6F16 #166F2B #166F57
triadic
#166F2B #2B166F #6F2B16
tetradic
#166F2B #162D6F #6F165A #6F5716
square
#166F2B #162D6F #6F165A #6F5716
split-complementary
#166F2B #57166F #6F162D
monochromatic
#051A0A #0C3C17 #166F2B #20A23F #2BD553

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166F2B#FFFFFF#000000##FFFFFF
##166F2B1.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)
#716424
Deuteranopia (green-blind)
#675D31
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f2b;
/* rgb */ color: rgb(22, 111, 43);
/* oklch */ color: oklch(47.6% 0.131 146.8);
Tailwind
colors: {
  custom: {
    50: '#649967',
    500: '#166f2b',
    950: '#000000',
  },
}
SCSS
$custom: #166f2b;
$custom-light: #649967;
$custom-dark: #000000;
JSON
{
  "hex": "#166f2b",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 43
  },
  "hsl": {
    "h": 134.157,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47576,
    "c": 0.13087,
    "h": 146.8
  },
  "luminance": 0.11714
}

Semantic roles & 50–950 ramp

primary
#166F2B
secondary
#A53C8C
accent
#3EC1EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #166F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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