#166A23#166A23

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

Color values

HEX#166A23
RGBrgb(22, 106, 35)
HSLhsl(129, 66%, 25%)
HSVhsv(129, 79%, 42%)
CMYKcmyk(79.2%, 0%, 67%, 58.4%)
CIE-LABlab(38.90, -39.91, 32.10)
CIE-LCHlch(38.90, 51.22, 141.19°)
OKLaboklab(46.01% -0.1077 0.0749)
OKLCHoklch(46.01% 0.131 145.2)
XYZxyz(5.7879, 10.5993, 3.3306)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A23 #6A165D
analogous
#336A16 #166A23 #166A4D
triadic
#166A23 #23166A #6A2316
tetradic
#166A23 #16336A #6A165D #6A4D16
square
#166A23 #16336A #6A165D #6A4D16
split-complementary
#166A23 #4D166A #6A1633
monochromatic
#051908 #0B3712 #166A23 #219D34 #2BCF44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166A23#FFFFFF#000000##FFFFFF
##166A231.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)
#6C601B
Deuteranopia (green-blind)
#625929
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166a23;
/* rgb */ color: rgb(22, 106, 35);
/* oklch */ color: oklch(46.0% 0.131 145.2);
Tailwind
colors: {
  custom: {
    50: '#639661',
    500: '#166a23',
    950: '#000000',
  },
}
SCSS
$custom: #166a23;
$custom-light: #639661;
$custom-dark: #000000;
JSON
{
  "hex": "#166a23",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 35
  },
  "hsl": {
    "h": 129.286,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46005,
    "c": 0.13117,
    "h": 145.2
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#166A23
secondary
#A03B91
accent
#3FCEE9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166A23

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

Preview Lab → · Contrast checker → · Palette generator →

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