#166B18#166B18

#166B18 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.2% C 0.140 H 143.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#166B18
RGBrgb(22, 107, 24)
HSLhsl(121, 66%, 25%)
HSVhsv(121, 79%, 42%)
CMYKcmyk(79.4%, 0%, 77.6%, 58%)
CIE-LABlab(39.16, -41.43, 37.24)
CIE-LCHlch(39.16, 55.71, 138.05°)
OKLaboklab(46.19% -0.1124 0.0843)
OKLCHoklch(46.19% 0.14 143.1)
XYZxyz(5.7531, 10.7512, 2.6360)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166B18 #6B1669
analogous
#3E6B16 #166B18 #166B43
triadic
#166B18 #18166B #6B1816
tetradic
#166B18 #163E6B #6B1669 #6B4316
square
#166B18 #163E6B #6B1669 #6B4316
split-complementary
#166B18 #43166B #6B163E
monochromatic
#051906 #0C380D #166B18 #209E23 #2BD12F

Accessibility & contrast

On white

6.67
#166B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#166B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166B18
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166B18#FFFFFF#000000##FFFFFF
##166B181.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6008
Deuteranopia (green-blind)
#645A21
Tritanopia (blue-blind)
#00685B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166b18;
/* rgb */ color: rgb(22, 107, 24);
/* oklch */ color: oklch(46.2% 0.140 143.1);
Tailwind
colors: {
  custom: {
    50: '#64965b',
    500: '#166b18',
    950: '#000000',
  },
}
SCSS
$custom: #166b18;
$custom-light: #64965b;
$custom-dark: #000000;
JSON
{
  "hex": "#166b18",
  "rgb": {
    "r": 22,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 121.412,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46191,
    "c": 0.14046,
    "h": 143.1
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#166B18
secondary
#A13B9F
accent
#3FE5E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166B18

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

Preview Lab → · Contrast checker → · Palette generator →

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