#166F38#166F38

#166F38 is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.8% C 0.119 H 151.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#166F38
RGBrgb(22, 111, 56)
HSLhsl(143, 67%, 26%)
HSVhsv(143, 80%, 44%)
CMYKcmyk(80.2%, 0%, 49.5%, 56.5%)
CIE-LABlab(40.94, -38.57, 23.49)
CIE-LCHlch(40.94, 45.16, 148.66°)
OKLaboklab(47.78% -0.1037 0.0574)
OKLCHoklch(47.78% 0.119 151)
XYZxyz(6.7285, 11.8242, 5.6683)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F38 #6F164D
analogous
#216F16 #166F38 #166F64
triadic
#166F38 #38166F #6F3816
tetradic
#166F38 #16216F #6F164D #6F6416
square
#166F38 #16216F #6F164D #6F6416
split-complementary
#166F38 #64166F #6F1621
monochromatic
#051A0D #0C3C1E #166F38 #20A252 #2BD56C

Accessibility & contrast

On white

6.24
#166F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#166F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F38
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F38#FFFFFF#000000##FFFFFF
##166F381.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6534
Deuteranopia (green-blind)
#655E3C
Tritanopia (blue-blind)
#006D62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f38;
/* rgb */ color: rgb(22, 111, 56);
/* oklch */ color: oklch(47.8% 0.119 151.0);
Tailwind
colors: {
  custom: {
    50: '#63996f',
    500: '#166f38',
    950: '#000000',
  },
}
SCSS
$custom: #166f38;
$custom-light: #63996f;
$custom-dark: #000000;
JSON
{
  "hex": "#166f38",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 56
  },
  "hsl": {
    "h": 142.921,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47782,
    "c": 0.11851,
    "h": 151
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#166F38
secondary
#A53C7D
accent
#3EA8EA
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #166F38

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

Preview Lab → · Contrast checker → · Palette generator →

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