#166338#166338

#166338 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.3% C 0.101 H 153.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#166338
RGBrgb(22, 99, 56)
HSLhsl(146, 64%, 24%)
HSVhsv(146, 78%, 39%)
CMYKcmyk(77.8%, 0%, 43.4%, 61.2%)
CIE-LABlab(36.70, -33.71, 18.03)
CIE-LCHlch(36.70, 38.23, 151.86°)
OKLaboklab(44.29% -0.0908 0.0448)
OKLCHoklch(44.29% 0.101 153.8)
XYZxyz(5.5060, 9.3791, 5.2608)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166338 #631641
analogous
#1A6316 #166338 #16635E
triadic
#166338 #381663 #633816
tetradic
#166338 #161A63 #631641 #635E16
square
#166338 #161A63 #631641 #635E16
split-complementary
#166338 #5E1663 #63161A
monochromatic
#06190E #0B311C #166338 #219554 #2CC771

Accessibility & contrast

On white

7.30
#166338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#166338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166338
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166338#FFFFFF#000000##FFFFFF
##1663381.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A35
Deuteranopia (green-blind)
#5A543B
Tritanopia (blue-blind)
#006258
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #166338;
/* rgb */ color: rgb(22, 99, 56);
/* oklch */ color: oklch(44.3% 0.101 153.8);
Tailwind
colors: {
  custom: {
    50: '#60906f',
    500: '#166338',
    950: '#000000',
  },
}
SCSS
$custom: #166338;
$custom-light: #60906f;
$custom-dark: #000000;
JSON
{
  "hex": "#166338",
  "rgb": {
    "r": 22,
    "g": 99,
    "b": 56
  },
  "hsl": {
    "h": 146.494,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44286,
    "c": 0.10129,
    "h": 153.8
  },
  "luminance": 0.0938
}

Semantic roles & 50–950 ramp

primary
#166338
secondary
#9A3B70
accent
#419EE7
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#050C07
muted
#7A7D7A

Preview Lab

Preview with #166338

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

Preview Lab → · Contrast checker → · Palette generator →

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