#166C2B#166C2B

#166C2B is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.7% C 0.127 H 147.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#166C2B
RGBrgb(22, 108, 43)
HSLhsl(135, 66%, 25%)
HSVhsv(135, 80%, 42%)
CMYKcmyk(79.6%, 0%, 60.2%, 57.6%)
CIE-LABlab(39.70, -39.57, 29.00)
CIE-LCHlch(39.70, 49.06, 143.76°)
OKLaboklab(46.7% -0.1065 0.0689)
OKLCHoklch(46.7% 0.127 147.1)
XYZxyz(6.1290, 11.0694, 4.0986)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C2B #6C1657
analogous
#2C6C16 #166C2B #166C56
triadic
#166C2B #2B166C #6C2B16
tetradic
#166C2B #162C6C #6C1657 #6C5616
square
#166C2B #162C6C #6C1657 #6C5616
split-complementary
#166C2B #56166C #6C162C
monochromatic
#05190A #0C3917 #166C2B #209F3F #2BD253

Accessibility & contrast

On white

6.53
#166C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#166C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166C2B
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166C2B#FFFFFF#000000##FFFFFF
##166C2B1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6225
Deuteranopia (green-blind)
#645B30
Tritanopia (blue-blind)
#00695E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166c2b;
/* rgb */ color: rgb(22, 108, 43);
/* oklch */ color: oklch(46.7% 0.127 147.1);
Tailwind
colors: {
  custom: {
    50: '#639766',
    500: '#166c2b',
    950: '#000000',
  },
}
SCSS
$custom: #166c2b;
$custom-light: #639766;
$custom-dark: #000000;
JSON
{
  "hex": "#166c2b",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 43
  },
  "hsl": {
    "h": 134.651,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46698,
    "c": 0.12686,
    "h": 147.1
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

primary
#166C2B
secondary
#A23C89
accent
#3FBFE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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