#166E1B#166E1B

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

Color values

HEX#166E1B
RGBrgb(22, 110, 27)
HSLhsl(123, 67%, 26%)
HSVhsv(123, 80%, 43%)
CMYKcmyk(80%, 0%, 75.5%, 56.9%)
CIE-LABlab(40.25, -42.21, 37.14)
CIE-LCHlch(40.25, 56.23, 138.66°)
OKLaboklab(47.1% -0.1143 0.0845)
OKLCHoklch(47.1% 0.142 143.5)
XYZxyz(6.1042, 11.4009, 2.9156)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166E1B #6E1669
analogous
#3D6E16 #166E1B #166E47
triadic
#166E1B #1B166E #6E1B16
tetradic
#166E1B #163D6E #6E1669 #6E4716
square
#166E1B #163D6E #6E1669 #6E4716
split-complementary
#166E1B #47166E #6E163D
monochromatic
#051A06 #0C3B0E #166E1B #20A128 #2AD434

Accessibility & contrast

On white

6.40
#166E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #166E1B
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166E1B#FFFFFF#000000##FFFFFF
##166E1B1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630D
Deuteranopia (green-blind)
#675C23
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #166e1b;
/* rgb */ color: rgb(22, 110, 27);
/* oklch */ color: oklch(47.1% 0.142 143.5);
Tailwind
colors: {
  custom: {
    50: '#64995d',
    500: '#166e1b',
    950: '#000000',
  },
}
SCSS
$custom: #166e1b;
$custom-light: #64995d;
$custom-dark: #000000;
JSON
{
  "hex": "#166e1b",
  "rgb": {
    "r": 22,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 123.409,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47103,
    "c": 0.14217,
    "h": 143.5
  },
  "luminance": 0.11402
}

Semantic roles & 50–950 ramp

primary
#166E1B
secondary
#A43C9E
accent
#3EE0EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #166E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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