#166F18#166F18

#166F18 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.145 H 143.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#166F18
RGBrgb(22, 111, 24)
HSLhsl(121, 67%, 26%)
HSVhsv(121, 80%, 44%)
CMYKcmyk(80.2%, 0%, 78.4%, 56.5%)
CIE-LABlab(40.58, -42.83, 38.67)
CIE-LCHlch(40.58, 57.70, 137.92°)
OKLaboklab(47.37% -0.1161 0.0873)
OKLCHoklch(47.37% 0.145 143.1)
XYZxyz(6.1798, 11.6047, 2.7782)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F18 #6F166D
analogous
#406F16 #166F18 #166F44
triadic
#166F18 #18166F #6F1816
tetradic
#166F18 #16406F #6F166D #6F4416
square
#166F18 #16406F #6F166D #6F4416
split-complementary
#166F18 #44166F #6F1640
monochromatic
#051A06 #0C3C0D #166F18 #20A223 #2BD52E

Accessibility & contrast

On white

6.32
#166F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#166F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F18
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F18#FFFFFF#000000##FFFFFF
##166F181.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716406
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f18;
/* rgb */ color: rgb(22, 111, 24);
/* oklch */ color: oklch(47.4% 0.145 143.1);
Tailwind
colors: {
  custom: {
    50: '#65995b',
    500: '#166f18',
    950: '#000000',
  },
}
SCSS
$custom: #166f18;
$custom-light: #65995b;
$custom-dark: #000000;
JSON
{
  "hex": "#166f18",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 121.348,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47374,
    "c": 0.14528,
    "h": 143.1
  },
  "luminance": 0.11605
}

Semantic roles & 50–950 ramp

primary
#166F18
secondary
#A53CA3
accent
#3EE6EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #166F18

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

Preview Lab → · Contrast checker → · Palette generator →

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