#166038#166038

#166038 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.4% C 0.097 H 154.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#166038
RGBrgb(22, 96, 56)
HSLhsl(148, 63%, 23%)
HSVhsv(148, 77%, 38%)
CMYKcmyk(77.1%, 0%, 41.7%, 62.4%)
CIE-LABlab(35.64, -32.43, 16.62)
CIE-LCHlch(35.64, 36.44, 152.87°)
OKLaboklab(43.41% -0.0875 0.0415)
OKLCHoklch(43.41% 0.097 154.7)
XYZxyz(5.2271, 8.8212, 5.1678)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166038 #60163E
analogous
#196016 #166038 #16605D
triadic
#166038 #381660 #603816
tetradic
#166038 #161960 #60163E #605D16
square
#166038 #161960 #60163E #605D16
split-complementary
#166038 #5D1660 #601619
monochromatic
#06190F #0B2E1B #166038 #219255 #2DC472

Accessibility & contrast

On white

7.60
#166038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#166038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166038
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166038#FFFFFF#000000##FFFFFF
##1660381.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605835
Deuteranopia (green-blind)
#57513B
Tritanopia (blue-blind)
#005F56
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #166038;
/* rgb */ color: rgb(22, 96, 56);
/* oklch */ color: oklch(43.4% 0.097 154.7);
Tailwind
colors: {
  custom: {
    50: '#5f8e6f',
    500: '#166038',
    950: '#000000',
  },
}
SCSS
$custom: #166038;
$custom-light: #5f8e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#166038",
  "rgb": {
    "r": 22,
    "g": 96,
    "b": 56
  },
  "hsl": {
    "h": 147.568,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43407,
    "c": 0.09686,
    "h": 154.7
  },
  "luminance": 0.08822
}

Semantic roles & 50–950 ramp

primary
#166038
secondary
#973B6D
accent
#429BE6
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #166038

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

Preview Lab → · Contrast checker → · Palette generator →

#166038 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva