#166E2B#166E2B

#166E2B is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.3% C 0.130 H 146.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#166E2B
RGBrgb(22, 110, 43)
HSLhsl(134, 67%, 26%)
HSVhsv(134, 80%, 43%)
CMYKcmyk(80%, 0%, 60.9%, 56.9%)
CIE-LABlab(40.40, -40.32, 29.83)
CIE-LCHlch(40.40, 50.16, 143.50°)
OKLaboklab(47.28% -0.1085 0.0707)
OKLCHoklch(47.28% 0.13 146.9)
XYZxyz(6.3424, 11.4961, 4.1697)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166E2B #6E1659
analogous
#2D6E16 #166E2B #166E57
triadic
#166E2B #2B166E #6E2B16
tetradic
#166E2B #162D6E #6E1659 #6E5716
square
#166E2B #162D6E #6E1659 #6E5716
split-complementary
#166E2B #57166E #6E162D
monochromatic
#051A0A #0C3B17 #166E2B #20A13F #2AD453

Accessibility & contrast

On white

6.36
#166E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#166E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166E2B
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166E2B#FFFFFF#000000##FFFFFF
##166E2B1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6324
Deuteranopia (green-blind)
#665D30
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #166e2b;
/* rgb */ color: rgb(22, 110, 43);
/* oklch */ color: oklch(47.3% 0.130 146.9);
Tailwind
colors: {
  custom: {
    50: '#639866',
    500: '#166e2b',
    950: '#000000',
  },
}
SCSS
$custom: #166e2b;
$custom-light: #639866;
$custom-dark: #000000;
JSON
{
  "hex": "#166e2b",
  "rgb": {
    "r": 22,
    "g": 110,
    "b": 43
  },
  "hsl": {
    "h": 134.318,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47283,
    "c": 0.12954,
    "h": 146.9
  },
  "luminance": 0.11497
}

Semantic roles & 50–950 ramp

primary
#166E2B
secondary
#A43C8B
accent
#3EC1EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #166E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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