#166226#166226

#166226 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.7% C 0.118 H 146.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#166226
RGBrgb(22, 98, 38)
HSLhsl(133, 63%, 24%)
HSVhsv(133, 78%, 38%)
CMYKcmyk(77.6%, 0%, 61.2%, 61.6%)
CIE-LABlab(36.07, -36.50, 27.34)
CIE-LCHlch(36.07, 45.60, 143.17°)
OKLaboklab(43.67% -0.0984 0.0649)
OKLCHoklch(43.67% 0.118 146.6)
XYZxyz(5.0480, 9.0453, 3.3132)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166226 #621652
analogous
#2C6216 #166226 #16624C
triadic
#166226 #261662 #622616
tetradic
#166226 #162C62 #621652 #624C16
square
#166226 #162C62 #621652 #624C16
split-complementary
#166226 #4C1662 #62162C
monochromatic
#06190A #0B3013 #166226 #219439 #2CC64D

Accessibility & contrast

On white

7.48
#166226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #166226
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166226#FFFFFF#000000##FFFFFF
##1662261.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635920
Deuteranopia (green-blind)
#5B522B
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #166226;
/* rgb */ color: rgb(22, 98, 38);
/* oklch */ color: oklch(43.7% 0.118 146.6);
Tailwind
colors: {
  custom: {
    50: '#608f62',
    500: '#166226',
    950: '#000000',
  },
}
SCSS
$custom: #166226;
$custom-light: #608f62;
$custom-dark: #000000;
JSON
{
  "hex": "#166226",
  "rgb": {
    "r": 22,
    "g": 98,
    "b": 38
  },
  "hsl": {
    "h": 132.632,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43673,
    "c": 0.11783,
    "h": 146.6
  },
  "luminance": 0.09046
}

Semantic roles & 50–950 ramp

primary
#166226
secondary
#993B85
accent
#41C4E6
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #166226

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

Preview Lab → · Contrast checker → · Palette generator →

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