#166237#166237

#166237 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.0% C 0.101 H 153.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#166237
RGBrgb(22, 98, 55)
HSLhsl(146, 63%, 24%)
HSVhsv(146, 78%, 38%)
CMYKcmyk(77.6%, 0%, 43.9%, 61.6%)
CIE-LABlab(36.33, -33.49, 18.12)
CIE-LCHlch(36.33, 38.08, 151.58°)
OKLaboklab(43.97% -0.0903 0.045)
OKLCHoklch(43.97% 0.101 153.5)
XYZxyz(5.3877, 9.1812, 5.1019)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166237 #621641
analogous
#1B6216 #166237 #16625D
triadic
#166237 #371662 #623716
tetradic
#166237 #161B62 #621641 #625D16
square
#166237 #161B62 #621641 #625D16
split-complementary
#166237 #5D1662 #62161B
monochromatic
#06190E #0B301B #166237 #219453 #2CC66F

Accessibility & contrast

On white

7.40
#166237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#166237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166237
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166237#FFFFFF#000000##FFFFFF
##1662371.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625934
Deuteranopia (green-blind)
#59533A
Tritanopia (blue-blind)
#006157
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #166237;
/* rgb */ color: rgb(22, 98, 55);
/* oklch */ color: oklch(44.0% 0.101 153.5);
Tailwind
colors: {
  custom: {
    50: '#608f6e',
    500: '#166237',
    950: '#000000',
  },
}
SCSS
$custom: #166237;
$custom-light: #608f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#166237",
  "rgb": {
    "r": 22,
    "g": 98,
    "b": 55
  },
  "hsl": {
    "h": 146.053,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43972,
    "c": 0.10086,
    "h": 153.5
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

primary
#166237
secondary
#993B70
accent
#419FE6
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#050C07
muted
#7A7D7A

Preview Lab

Preview with #166237

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

Preview Lab → · Contrast checker → · Palette generator →

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