#166F2E#166F2E

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

Color values

HEX#166F2E
RGBrgb(22, 111, 46)
HSLhsl(136, 67%, 26%)
HSVhsv(136, 80%, 44%)
CMYKcmyk(80.2%, 0%, 58.6%, 56.5%)
CIE-LABlab(40.79, -40.25, 28.74)
CIE-LCHlch(40.79, 49.45, 144.47°)
OKLaboklab(47.62% -0.1082 0.0686)
OKLCHoklch(47.62% 0.128 147.6)
XYZxyz(6.5080, 11.7359, 4.5065)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F2E #6F1657
analogous
#2A6F16 #166F2E #166F5A
triadic
#166F2E #2E166F #6F2E16
tetradic
#166F2E #162A6F #6F1657 #6F5A16
square
#166F2E #162A6F #6F1657 #6F5A16
split-complementary
#166F2E #5A166F #6F162A
monochromatic
#051A0B #0C3C19 #166F2E #20A243 #2BD558

Accessibility & contrast

On white

6.27
#166F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#166F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F2E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F2E#FFFFFF#000000##FFFFFF
##166F2E1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706428
Deuteranopia (green-blind)
#665D33
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f2e;
/* rgb */ color: rgb(22, 111, 46);
/* oklch */ color: oklch(47.6% 0.128 147.6);
Tailwind
colors: {
  custom: {
    50: '#649969',
    500: '#166f2e',
    950: '#000000',
  },
}
SCSS
$custom: #166f2e;
$custom-light: #649969;
$custom-dark: #000000;
JSON
{
  "hex": "#166f2e",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 46
  },
  "hsl": {
    "h": 136.18,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47618,
    "c": 0.12815,
    "h": 147.6
  },
  "luminance": 0.11737
}

Semantic roles & 50–950 ramp

primary
#166F2E
secondary
#A53C89
accent
#3EBBEA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #166F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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