#166F2C#166F2C

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

Color values

HEX#166F2C
RGBrgb(22, 111, 44)
HSLhsl(135, 67%, 26%)
HSVhsv(135, 80%, 44%)
CMYKcmyk(80.2%, 0%, 60.4%, 56.5%)
CIE-LABlab(40.77, -40.54, 29.75)
CIE-LCHlch(40.77, 50.29, 143.73°)
OKLaboklab(47.59% -0.1091 0.0707)
OKLCHoklch(47.59% 0.13 147.1)
XYZxyz(6.4694, 11.7205, 4.3037)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F2C #6F1659
analogous
#2D6F16 #166F2C #166F58
triadic
#166F2C #2C166F #6F2C16
tetradic
#166F2C #162D6F #6F1659 #6F5816
square
#166F2C #162D6F #6F1659 #6F5816
split-complementary
#166F2C #58166F #6F162D
monochromatic
#051A0A #0C3C18 #166F2C #20A240 #2BD555

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166F2C#FFFFFF#000000##FFFFFF
##166F2C1.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)
#706425
Deuteranopia (green-blind)
#665D31
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f2c;
/* rgb */ color: rgb(22, 111, 44);
/* oklch */ color: oklch(47.6% 0.130 147.1);
Tailwind
colors: {
  custom: {
    50: '#649967',
    500: '#166f2c',
    950: '#000000',
  },
}
SCSS
$custom: #166f2c;
$custom-light: #649967;
$custom-dark: #000000;
JSON
{
  "hex": "#166f2c",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 44
  },
  "hsl": {
    "h": 134.831,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4759,
    "c": 0.12997,
    "h": 147.1
  },
  "luminance": 0.11721
}

Semantic roles & 50–950 ramp

primary
#166F2C
secondary
#A53C8B
accent
#3EBFEA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #166F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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