#166E31#166E31

#166E31 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.4% C 0.124 H 148.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#166E31
RGBrgb(22, 110, 49)
HSLhsl(138, 67%, 26%)
HSVhsv(138, 80%, 43%)
CMYKcmyk(80%, 0%, 55.5%, 56.9%)
CIE-LABlab(40.48, -39.40, 26.77)
CIE-LCHlch(40.48, 47.63, 145.81°)
OKLaboklab(47.37% -0.1059 0.0644)
OKLCHoklch(47.37% 0.124 148.7)
XYZxyz(6.4607, 11.5434, 4.7927)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166E31 #6E1653
analogous
#276E16 #166E31 #166E5D
triadic
#166E31 #31166E #6E3116
tetradic
#166E31 #16276E #6E1653 #6E5D16
square
#166E31 #16276E #6E1653 #6E5D16
split-complementary
#166E31 #5D166E #6E1627
monochromatic
#051A0B #0C3B1A #166E31 #20A148 #2AD45E

Accessibility & contrast

On white

6.35
#166E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#166E31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166E31
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166E31#FFFFFF#000000##FFFFFF
##166E311.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F642C
Deuteranopia (green-blind)
#655D36
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #166e31;
/* rgb */ color: rgb(22, 110, 49);
/* oklch */ color: oklch(47.4% 0.124 148.7);
Tailwind
colors: {
  custom: {
    50: '#63986a',
    500: '#166e31',
    950: '#000000',
  },
}
SCSS
$custom: #166e31;
$custom-light: #63986a;
$custom-dark: #000000;
JSON
{
  "hex": "#166e31",
  "rgb": {
    "r": 22,
    "g": 110,
    "b": 49
  },
  "hsl": {
    "h": 138.409,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47373,
    "c": 0.12396,
    "h": 148.7
  },
  "luminance": 0.11544
}

Semantic roles & 50–950 ramp

primary
#166E31
secondary
#A43C84
accent
#3EB5EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #166E31

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

Preview Lab → · Contrast checker → · Palette generator →

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