#166F3A#166F3A

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

Color values

HEX#166F3A
RGBrgb(22, 111, 58)
HSLhsl(144, 67%, 26%)
HSVhsv(144, 80%, 44%)
CMYKcmyk(80.2%, 0%, 47.7%, 56.5%)
CIE-LABlab(40.97, -38.20, 22.40)
CIE-LCHlch(40.97, 44.29, 149.61°)
OKLaboklab(47.82% -0.1027 0.055)
OKLCHoklch(47.82% 0.117 151.8)
XYZxyz(6.7784, 11.8441, 5.9311)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F3A #6F164B
analogous
#1E6F16 #166F3A #166F66
triadic
#166F3A #3A166F #6F3A16
tetradic
#166F3A #161E6F #6F164B #6F6616
square
#166F3A #161E6F #6F164B #6F6616
split-complementary
#166F3A #66166F #6F161E
monochromatic
#051A0D #0C3C1F #166F3A #20A255 #2BD56F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166F3A#FFFFFF#000000##FFFFFF
##166F3A1.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)
#6F6536
Deuteranopia (green-blind)
#655E3E
Tritanopia (blue-blind)
#006D62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #166f3a;
/* rgb */ color: rgb(22, 111, 58);
/* oklch */ color: oklch(47.8% 0.117 151.8);
Tailwind
colors: {
  custom: {
    50: '#639971',
    500: '#166f3a',
    950: '#000000',
  },
}
SCSS
$custom: #166f3a;
$custom-light: #639971;
$custom-dark: #000000;
JSON
{
  "hex": "#166f3a",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 58
  },
  "hsl": {
    "h": 144.27,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47819,
    "c": 0.11652,
    "h": 151.8
  },
  "luminance": 0.11845
}

Semantic roles & 50–950 ramp

primary
#166F3A
secondary
#A53C7A
accent
#3EA4EA
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #166F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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