#166B28#166B28

#166B28 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.4% C 0.128 H 146.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#166B28
RGBrgb(22, 107, 40)
HSLhsl(133, 66%, 25%)
HSVhsv(133, 79%, 42%)
CMYKcmyk(79.4%, 0%, 62.6%, 58%)
CIE-LABlab(39.31, -39.63, 30.09)
CIE-LCHlch(39.31, 49.76, 142.79°)
OKLaboklab(46.36% -0.1067 0.071)
OKLCHoklch(46.36% 0.128 146.4)
XYZxyz(5.9711, 10.8385, 3.7844)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166B28 #6B1659
analogous
#2E6B16 #166B28 #166B52
triadic
#166B28 #28166B #6B2816
tetradic
#166B28 #162E6B #6B1659 #6B5216
square
#166B28 #162E6B #6B1659 #6B5216
split-complementary
#166B28 #52166B #6B162E
monochromatic
#051909 #0C3815 #166B28 #209E3B #2BD14E

Accessibility & contrast

On white

6.63
#166B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#166B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166B28
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166B28#FFFFFF#000000##FFFFFF
##166B281.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6121
Deuteranopia (green-blind)
#635A2D
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166b28;
/* rgb */ color: rgb(22, 107, 40);
/* oklch */ color: oklch(46.4% 0.128 146.4);
Tailwind
colors: {
  custom: {
    50: '#639664',
    500: '#166b28',
    950: '#000000',
  },
}
SCSS
$custom: #166b28;
$custom-light: #639664;
$custom-dark: #000000;
JSON
{
  "hex": "#166b28",
  "rgb": {
    "r": 22,
    "g": 107,
    "b": 40
  },
  "hsl": {
    "h": 132.706,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46363,
    "c": 0.12822,
    "h": 146.4
  },
  "luminance": 0.10839
}

Semantic roles & 50–950 ramp

primary
#166B28
secondary
#A13B8C
accent
#3FC5E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #166B28

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

Preview Lab → · Contrast checker → · Palette generator →

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