#166A1A#166A1A

#166A1A is a mid, vivid green. Relative luminance 0.106; OKLCH L 45.9% C 0.138 H 143.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#166A1A
RGBrgb(22, 106, 26)
HSLhsl(123, 66%, 25%)
HSVhsv(123, 79%, 42%)
CMYKcmyk(79.2%, 0%, 75.5%, 58.4%)
CIE-LABlab(38.82, -40.90, 36.08)
CIE-LCHlch(38.82, 54.54, 138.58°)
OKLaboklab(45.91% -0.1108 0.0821)
OKLCHoklch(45.91% 0.138 143.5)
XYZxyz(5.6710, 10.5526, 2.7151)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A1A #6A1666
analogous
#3C6A16 #166A1A #166A44
triadic
#166A1A #1A166A #6A1A16
tetradic
#166A1A #163C6A #6A1666 #6A4416
square
#166A1A #163C6A #6A1666 #6A4416
split-complementary
#166A1A #44166A #6A163C
monochromatic
#051906 #0B370E #166A1A #219D26 #2BCF33

Accessibility & contrast

On white

6.75
#166A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#166A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A1A
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A1A#FFFFFF#000000##FFFFFF
##166A1A1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0D
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #166a1a;
/* rgb */ color: rgb(22, 106, 26);
/* oklch */ color: oklch(45.9% 0.138 143.5);
Tailwind
colors: {
  custom: {
    50: '#63965c',
    500: '#166a1a',
    950: '#000000',
  },
}
SCSS
$custom: #166a1a;
$custom-light: #63965c;
$custom-dark: #000000;
JSON
{
  "hex": "#166a1a",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 26
  },
  "hsl": {
    "h": 122.857,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45912,
    "c": 0.13794,
    "h": 143.5
  },
  "luminance": 0.10553
}

Semantic roles & 50–950 ramp

primary
#166A1A
secondary
#A03B9C
accent
#3FE1E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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