#166F27#166F27

#166F27 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.134 H 145.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#166F27
RGBrgb(22, 111, 39)
HSLhsl(131, 67%, 26%)
HSVhsv(131, 80%, 44%)
CMYKcmyk(80.2%, 0%, 64.9%, 56.5%)
CIE-LABlab(40.71, -41.23, 32.20)
CIE-LCHlch(40.71, 52.32, 142.01°)
OKLaboklab(47.52% -0.1111 0.0755)
OKLCHoklch(47.52% 0.134 145.8)
XYZxyz(6.3811, 11.6852, 3.8382)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F27 #6F165E
analogous
#316F16 #166F27 #166F53
triadic
#166F27 #27166F #6F2716
tetradic
#166F27 #16316F #6F165E #6F5316
square
#166F27 #16316F #6F165E #6F5316
split-complementary
#166F27 #53166F #6F1631
monochromatic
#051A09 #0C3C15 #166F27 #20A239 #2BD54B

Accessibility & contrast

On white

6.29
#166F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#166F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F27
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F27#FFFFFF#000000##FFFFFF
##166F271.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71641F
Deuteranopia (green-blind)
#675D2D
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f27;
/* rgb */ color: rgb(22, 111, 39);
/* oklch */ color: oklch(47.5% 0.134 145.8);
Tailwind
colors: {
  custom: {
    50: '#649964',
    500: '#166f27',
    950: '#000000',
  },
}
SCSS
$custom: #166f27;
$custom-light: #649964;
$custom-dark: #000000;
JSON
{
  "hex": "#166f27",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 39
  },
  "hsl": {
    "h": 131.461,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47524,
    "c": 0.13434,
    "h": 145.8
  },
  "luminance": 0.11686
}

Semantic roles & 50–950 ramp

primary
#166F27
secondary
#A53C91
accent
#3EC9EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A

Preview Lab

Preview with #166F27

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

Preview Lab → · Contrast checker → · Palette generator →

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