#166E2C#166E2C

#166E2C is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.3% C 0.129 H 147.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#166E2C
RGBrgb(22, 110, 44)
HSLhsl(135, 67%, 26%)
HSVhsv(135, 80%, 43%)
CMYKcmyk(80%, 0%, 60%, 56.9%)
CIE-LABlab(40.42, -40.17, 29.33)
CIE-LCHlch(40.42, 49.74, 143.86°)
OKLaboklab(47.3% -0.1081 0.0697)
OKLCHoklch(47.3% 0.129 147.2)
XYZxyz(6.3609, 11.5035, 4.2675)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166E2C #6E1658
analogous
#2C6E16 #166E2C #166E58
triadic
#166E2C #2C166E #6E2C16
tetradic
#166E2C #162C6E #6E1658 #6E5816
square
#166E2C #162C6E #6E1658 #6E5816
split-complementary
#166E2C #58166E #6E162C
monochromatic
#051A0A #0C3B18 #166E2C #20A140 #2AD455

Accessibility & contrast

On white

6.36
#166E2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#166E2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166E2C
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166E2C#FFFFFF#000000##FFFFFF
##166E2C1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6326
Deuteranopia (green-blind)
#655D31
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #166e2c;
/* rgb */ color: rgb(22, 110, 44);
/* oklch */ color: oklch(47.3% 0.129 147.2);
Tailwind
colors: {
  custom: {
    50: '#639867',
    500: '#166e2c',
    950: '#000000',
  },
}
SCSS
$custom: #166e2c;
$custom-light: #639867;
$custom-dark: #000000;
JSON
{
  "hex": "#166e2c",
  "rgb": {
    "r": 22,
    "g": 110,
    "b": 44
  },
  "hsl": {
    "h": 135,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47297,
    "c": 0.12864,
    "h": 147.2
  },
  "luminance": 0.11504
}

Semantic roles & 50–950 ramp

primary
#166E2C
secondary
#A43C8A
accent
#3EBFEA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #166E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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