#166F28#166F28

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

Color values

HEX#166F28
RGBrgb(22, 111, 40)
HSLhsl(132, 67%, 26%)
HSVhsv(132, 80%, 44%)
CMYKcmyk(80.2%, 0%, 64%, 56.5%)
CIE-LABlab(40.72, -41.10, 31.72)
CIE-LCHlch(40.72, 51.92, 142.34°)
OKLaboklab(47.54% -0.1107 0.0746)
OKLCHoklch(47.54% 0.133 146)
XYZxyz(6.3979, 11.6919, 3.9266)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F28 #6F165D
analogous
#306F16 #166F28 #166F54
triadic
#166F28 #28166F #6F2816
tetradic
#166F28 #16306F #6F165D #6F5416
square
#166F28 #16306F #6F165D #6F5416
split-complementary
#166F28 #54166F #6F1630
monochromatic
#051A09 #0C3C16 #166F28 #20A23A #2BD54D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166F28#FFFFFF#000000##FFFFFF
##166F281.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)
#716420
Deuteranopia (green-blind)
#675D2E
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f28;
/* rgb */ color: rgb(22, 111, 40);
/* oklch */ color: oklch(47.5% 0.133 146.0);
Tailwind
colors: {
  custom: {
    50: '#649965',
    500: '#166f28',
    950: '#000000',
  },
}
SCSS
$custom: #166f28;
$custom-light: #649965;
$custom-dark: #000000;
JSON
{
  "hex": "#166f28",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 40
  },
  "hsl": {
    "h": 132.135,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47536,
    "c": 0.13349,
    "h": 146
  },
  "luminance": 0.11693
}

Semantic roles & 50–950 ramp

primary
#166F28
secondary
#A53C90
accent
#3EC7EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #166F28

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

Preview Lab → · Contrast checker → · Palette generator →

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