#166F3B#166F3B

#166F3B is a mid, moderate green. Relative luminance 0.119; OKLCH L 47.8% C 0.116 H 152.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#166F3B
RGBrgb(22, 111, 59)
HSLhsl(145, 67%, 26%)
HSVhsv(145, 80%, 44%)
CMYKcmyk(80.2%, 0%, 46.8%, 56.5%)
CIE-LABlab(40.98, -38.01, 21.86)
CIE-LCHlch(40.98, 43.85, 150.10°)
OKLaboklab(47.84% -0.1022 0.0538)
OKLCHoklch(47.84% 0.116 152.2)
XYZxyz(6.8041, 11.8544, 6.0664)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F3B #6F164A
analogous
#1D6F16 #166F3B #166F67
triadic
#166F3B #3B166F #6F3B16
tetradic
#166F3B #161D6F #6F164A #6F6716
square
#166F3B #161D6F #6F164A #6F6716
split-complementary
#166F3B #67166F #6F161D
monochromatic
#051A0E #0C3C20 #166F3B #20A256 #2BD571

Accessibility & contrast

On white

6.23
#166F3B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#166F3B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F3B
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F3B#FFFFFF#000000##FFFFFF
##166F3B1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6537
Deuteranopia (green-blind)
#655E3F
Tritanopia (blue-blind)
#006D62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #166f3b;
/* rgb */ color: rgb(22, 111, 59);
/* oklch */ color: oklch(47.8% 0.116 152.2);
Tailwind
colors: {
  custom: {
    50: '#639971',
    500: '#166f3b',
    950: '#000000',
  },
}
SCSS
$custom: #166f3b;
$custom-light: #639971;
$custom-dark: #000000;
JSON
{
  "hex": "#166f3b",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 59
  },
  "hsl": {
    "h": 144.944,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47838,
    "c": 0.11551,
    "h": 152.2
  },
  "luminance": 0.11855
}

Semantic roles & 50–950 ramp

primary
#166F3B
secondary
#A53C79
accent
#3EA2EA
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #166F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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