#166223#166223

#166223 is a dark, vivid green. Relative luminance 0.090; OKLCH L 43.6% C 0.121 H 145.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#166223
RGBrgb(22, 98, 35)
HSLhsl(130, 63%, 24%)
HSVhsv(130, 78%, 38%)
CMYKcmyk(77.6%, 0%, 64.3%, 61.6%)
CIE-LABlab(36.04, -36.92, 28.85)
CIE-LCHlch(36.04, 46.86, 141.99°)
OKLaboklab(43.63% -0.0996 0.0679)
OKLCHoklch(43.63% 0.121 145.7)
XYZxyz(5.0016, 9.0267, 3.0685)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166223 #621655
analogous
#2F6216 #166223 #166249
triadic
#166223 #231662 #622316
tetradic
#166223 #162F62 #621655 #624916
square
#166223 #162F62 #621655 #624916
split-complementary
#166223 #491662 #62162F
monochromatic
#061909 #0B3011 #166223 #219435 #2CC647

Accessibility & contrast

On white

7.49
#166223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#166223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166223
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166223#FFFFFF#000000##FFFFFF
##1662231.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64581C
Deuteranopia (green-blind)
#5B5228
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #166223;
/* rgb */ color: rgb(22, 98, 35);
/* oklch */ color: oklch(43.6% 0.121 145.7);
Tailwind
colors: {
  custom: {
    50: '#618f60',
    500: '#166223',
    950: '#000000',
  },
}
SCSS
$custom: #166223;
$custom-light: #618f60;
$custom-dark: #000000;
JSON
{
  "hex": "#166223",
  "rgb": {
    "r": 22,
    "g": 98,
    "b": 35
  },
  "hsl": {
    "h": 130.263,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43632,
    "c": 0.12055,
    "h": 145.7
  },
  "luminance": 0.09027
}

Semantic roles & 50–950 ramp

primary
#166223
secondary
#993B89
accent
#41CAE6
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #166223

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

Preview Lab → · Contrast checker → · Palette generator →

#166223 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva