#166A27#166A27

#166A27 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.128 H 146.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#166A27
RGBrgb(22, 106, 39)
HSLhsl(132, 66%, 25%)
HSVhsv(132, 79%, 42%)
CMYKcmyk(79.2%, 0%, 63.2%, 58.4%)
CIE-LABlab(38.94, -39.39, 30.17)
CIE-LCHlch(38.94, 49.62, 142.55°)
OKLaboklab(46.06% -0.1061 0.0711)
OKLCHoklch(46.06% 0.128 146.2)
XYZxyz(5.8507, 10.6244, 3.6614)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A27 #6A1659
analogous
#2F6A16 #166A27 #166A51
triadic
#166A27 #27166A #6A2716
tetradic
#166A27 #162F6A #6A1659 #6A5116
square
#166A27 #162F6A #6A1659 #6A5116
split-complementary
#166A27 #51166A #6A162F
monochromatic
#051909 #0B3714 #166A27 #219D3A #2BCF4C

Accessibility & contrast

On white

6.72
#166A27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#166A27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A27
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A27#FFFFFF#000000##FFFFFF
##166A271.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6020
Deuteranopia (green-blind)
#62592D
Tritanopia (blue-blind)
#00675C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166a27;
/* rgb */ color: rgb(22, 106, 39);
/* oklch */ color: oklch(46.1% 0.128 146.2);
Tailwind
colors: {
  custom: {
    50: '#639564',
    500: '#166a27',
    950: '#000000',
  },
}
SCSS
$custom: #166a27;
$custom-light: #639564;
$custom-dark: #000000;
JSON
{
  "hex": "#166a27",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 39
  },
  "hsl": {
    "h": 132.143,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46055,
    "c": 0.12776,
    "h": 146.2
  },
  "luminance": 0.10625
}

Semantic roles & 50–950 ramp

primary
#166A27
secondary
#A03B8C
accent
#3FC6E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #166A27

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

Preview Lab → · Contrast checker → · Palette generator →

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