#166F26#166F26

#166F26 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.135 H 145.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#166F26
RGBrgb(22, 111, 38)
HSLhsl(131, 67%, 26%)
HSVhsv(131, 80%, 44%)
CMYKcmyk(80.2%, 0%, 65.8%, 56.5%)
CIE-LABlab(40.70, -41.36, 32.68)
CIE-LCHlch(40.70, 52.71, 141.69°)
OKLaboklab(47.51% -0.1115 0.0764)
OKLCHoklch(47.51% 0.135 145.6)
XYZxyz(6.3647, 11.6786, 3.7521)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F26 #6F165F
analogous
#326F16 #166F26 #166F52
triadic
#166F26 #26166F #6F2616
tetradic
#166F26 #16326F #6F165F #6F5216
square
#166F26 #16326F #6F165F #6F5216
split-complementary
#166F26 #52166F #6F1632
monochromatic
#051A09 #0C3C15 #166F26 #20A237 #2BD549

Accessibility & contrast

On white

6.30
#166F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#166F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F26
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F26#FFFFFF#000000##FFFFFF
##166F261.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71641E
Deuteranopia (green-blind)
#675D2C
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f26;
/* rgb */ color: rgb(22, 111, 38);
/* oklch */ color: oklch(47.5% 0.135 145.6);
Tailwind
colors: {
  custom: {
    50: '#649963',
    500: '#166f26',
    950: '#000000',
  },
}
SCSS
$custom: #166f26;
$custom-light: #649963;
$custom-dark: #000000;
JSON
{
  "hex": "#166f26",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 38
  },
  "hsl": {
    "h": 130.787,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47512,
    "c": 0.13517,
    "h": 145.6
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#166F26
secondary
#A53C92
accent
#3ECBEA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A

Preview Lab

Preview with #166F26

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

Preview Lab → · Contrast checker → · Palette generator →

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