#166D27#166D27

#166D27 is a mid, vivid green. Relative luminance 0.113; OKLCH L 46.9% C 0.132 H 145.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#166D27
RGBrgb(22, 109, 39)
HSLhsl(132, 66%, 26%)
HSVhsv(132, 80%, 43%)
CMYKcmyk(79.8%, 0%, 64.2%, 57.3%)
CIE-LABlab(40.00, -40.50, 31.39)
CIE-LCHlch(40.00, 51.24, 142.22°)
OKLaboklab(46.94% -0.1091 0.0738)
OKLCHoklch(46.94% 0.132 145.9)
XYZxyz(6.1653, 11.2536, 3.7663)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D27 #6D165C
analogous
#306D16 #166D27 #166D52
triadic
#166D27 #27166D #6D2716
tetradic
#166D27 #16306D #6D165C #6D5216
square
#166D27 #16306D #6D165C #6D5216
split-complementary
#166D27 #52166D #6D1630
monochromatic
#051909 #0C3A15 #166D27 #20A039 #2BD34B

Accessibility & contrast

On white

6.46
#166D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#166D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166D27
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166D27#FFFFFF#000000##FFFFFF
##166D271.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F621F
Deuteranopia (green-blind)
#655C2D
Tritanopia (blue-blind)
#006A5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166d27;
/* rgb */ color: rgb(22, 109, 39);
/* oklch */ color: oklch(46.9% 0.132 145.9);
Tailwind
colors: {
  custom: {
    50: '#639864',
    500: '#166d27',
    950: '#000000',
  },
}
SCSS
$custom: #166d27;
$custom-light: #639864;
$custom-dark: #000000;
JSON
{
  "hex": "#166d27",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 39
  },
  "hsl": {
    "h": 131.724,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46937,
    "c": 0.13173,
    "h": 145.9
  },
  "luminance": 0.11254
}

Semantic roles & 50–950 ramp

primary
#166D27
secondary
#A33C8F
accent
#3EC8E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A

Preview Lab

Preview with #166D27

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

Preview Lab → · Contrast checker → · Palette generator →

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