#166239#166239

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

Color values

HEX#166239
RGBrgb(22, 98, 57)
HSLhsl(148, 63%, 24%)
HSVhsv(148, 78%, 38%)
CMYKcmyk(77.6%, 0%, 41.8%, 61.6%)
CIE-LABlab(36.37, -33.07, 16.99)
CIE-LCHlch(36.37, 37.18, 152.81°)
OKLaboklab(44.02% -0.0892 0.0424)
OKLCHoklch(44.02% 0.099 154.6)
XYZxyz(5.4366, 9.2007, 5.3595)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166239 #62163F
analogous
#196216 #166239 #16625F
triadic
#166239 #391662 #623916
tetradic
#166239 #161962 #62163F #625F16
square
#166239 #161962 #62163F #625F16
split-complementary
#166239 #5F1662 #621619
monochromatic
#06190F #0B301C #166239 #219456 #2CC673

Accessibility & contrast

On white

7.39
#166239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #166239
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166239#FFFFFF#000000##FFFFFF
##1662391.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625936
Deuteranopia (green-blind)
#58533C
Tritanopia (blue-blind)
#006158
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #166239;
/* rgb */ color: rgb(22, 98, 57);
/* oklch */ color: oklch(44.0% 0.099 154.6);
Tailwind
colors: {
  custom: {
    50: '#608f70',
    500: '#166239',
    950: '#000000',
  },
}
SCSS
$custom: #166239;
$custom-light: #608f70;
$custom-dark: #000000;
JSON
{
  "hex": "#166239",
  "rgb": {
    "r": 22,
    "g": 98,
    "b": 57
  },
  "hsl": {
    "h": 147.632,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44015,
    "c": 0.09879,
    "h": 154.6
  },
  "luminance": 0.09201
}

Semantic roles & 50–950 ramp

primary
#166239
secondary
#993B6E
accent
#419AE6
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#050C07
muted
#7A7D7A

Preview Lab

Preview with #166239

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

Preview Lab → · Contrast checker → · Palette generator →

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