#166A24#166A24

#166A24 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.130 H 145.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#166A24
RGBrgb(22, 106, 36)
HSLhsl(130, 66%, 25%)
HSVhsv(130, 79%, 42%)
CMYKcmyk(79.2%, 0%, 66%, 58.4%)
CIE-LABlab(38.91, -39.79, 31.63)
CIE-LCHlch(38.91, 50.83, 141.52°)
OKLaboklab(46.02% -0.1073 0.074)
OKLCHoklch(46.02% 0.13 145.4)
XYZxyz(5.8029, 10.6053, 3.4099)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A24 #6A165C
analogous
#326A16 #166A24 #166A4E
triadic
#166A24 #24166A #6A2416
tetradic
#166A24 #16326A #6A165C #6A4E16
square
#166A24 #16326A #6A165C #6A4E16
split-complementary
#166A24 #4E166A #6A1632
monochromatic
#051909 #0B3713 #166A24 #219D35 #2BCF46

Accessibility & contrast

On white

6.73
#166A24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#166A24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A24
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A24#FFFFFF#000000##FFFFFF
##166A241.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C601C
Deuteranopia (green-blind)
#62592A
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166a24;
/* rgb */ color: rgb(22, 106, 36);
/* oklch */ color: oklch(46.0% 0.130 145.4);
Tailwind
colors: {
  custom: {
    50: '#639562',
    500: '#166a24',
    950: '#000000',
  },
}
SCSS
$custom: #166a24;
$custom-light: #639562;
$custom-dark: #000000;
JSON
{
  "hex": "#166a24",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 36
  },
  "hsl": {
    "h": 130,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46017,
    "c": 0.13034,
    "h": 145.4
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#166A24
secondary
#A03B90
accent
#3FCCE9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166A24

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

Preview Lab → · Contrast checker → · Palette generator →

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