#166B23#166B23

#166B23 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.3% C 0.132 H 145.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#166B23
RGBrgb(22, 107, 35)
HSLhsl(129, 66%, 25%)
HSVhsv(129, 79%, 42%)
CMYKcmyk(79.4%, 0%, 67.3%, 58%)
CIE-LABlab(39.25, -40.28, 32.50)
CIE-LCHlch(39.25, 51.76, 141.10°)
OKLaboklab(46.3% -0.1087 0.0757)
OKLCHoklch(46.3% 0.132 145.1)
XYZxyz(5.8915, 10.8066, 3.3652)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166B23 #6B165E
analogous
#346B16 #166B23 #166B4D
triadic
#166B23 #23166B #6B2316
tetradic
#166B23 #16346B #6B165E #6B4D16
square
#166B23 #16346B #6B165E #6B4D16
split-complementary
#166B23 #4D166B #6B1634
monochromatic
#051908 #0C3812 #166B23 #209E34 #2BD144

Accessibility & contrast

On white

6.64
#166B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#166B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166B23
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166B23#FFFFFF#000000##FFFFFF
##166B231.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D601A
Deuteranopia (green-blind)
#635A29
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166b23;
/* rgb */ color: rgb(22, 107, 35);
/* oklch */ color: oklch(46.3% 0.132 145.1);
Tailwind
colors: {
  custom: {
    50: '#639661',
    500: '#166b23',
    950: '#000000',
  },
}
SCSS
$custom: #166b23;
$custom-light: #639661;
$custom-dark: #000000;
JSON
{
  "hex": "#166b23",
  "rgb": {
    "r": 22,
    "g": 107,
    "b": 35
  },
  "hsl": {
    "h": 129.176,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.463,
    "c": 0.13246,
    "h": 145.1
  },
  "luminance": 0.10807
}

Semantic roles & 50–950 ramp

primary
#166B23
secondary
#A13B92
accent
#3FCFE9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166B23

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

Preview Lab → · Contrast checker → · Palette generator →

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