#166E1F#166E1F

#166E1F is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.1% C 0.139 H 144.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#166E1F
RGBrgb(22, 110, 31)
HSLhsl(126, 67%, 26%)
HSVhsv(126, 80%, 43%)
CMYKcmyk(80%, 0%, 71.8%, 56.9%)
CIE-LABlab(40.28, -41.81, 35.47)
CIE-LCHlch(40.28, 54.83, 139.69°)
OKLaboklab(47.14% -0.1131 0.0815)
OKLCHoklch(47.14% 0.139 144.2)
XYZxyz(6.1537, 11.4206, 3.1761)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166E1F #6E1665
analogous
#396E16 #166E1F #166E4B
triadic
#166E1F #1F166E #6E1F16
tetradic
#166E1F #16396E #6E1665 #6E4B16
square
#166E1F #16396E #6E1665 #6E4B16
split-complementary
#166E1F #4B166E #6E1639
monochromatic
#051A07 #0C3B11 #166E1F #20A12D #2AD43C

Accessibility & contrast

On white

6.39
#166E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#166E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166E1F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166E1F#FFFFFF#000000##FFFFFF
##166E1F1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706314
Deuteranopia (green-blind)
#665C27
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #166e1f;
/* rgb */ color: rgb(22, 110, 31);
/* oklch */ color: oklch(47.1% 0.139 144.2);
Tailwind
colors: {
  custom: {
    50: '#64995f',
    500: '#166e1f',
    950: '#000000',
  },
}
SCSS
$custom: #166e1f;
$custom-light: #64995f;
$custom-dark: #000000;
JSON
{
  "hex": "#166e1f",
  "rgb": {
    "r": 22,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 126.136,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47141,
    "c": 0.13938,
    "h": 144.2
  },
  "luminance": 0.11421
}

Semantic roles & 50–950 ramp

primary
#166E1F
secondary
#A43C99
accent
#3ED8EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #166E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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