#166231#166231

#166231 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.9% C 0.107 H 150.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#166231
RGBrgb(22, 98, 49)
HSLhsl(141, 63%, 24%)
HSVhsv(141, 78%, 38%)
CMYKcmyk(77.6%, 0%, 50%, 61.6%)
CIE-LABlab(36.23, -34.67, 21.47)
CIE-LCHlch(36.23, 40.78, 148.23°)
OKLaboklab(43.85% -0.0933 0.0525)
OKLCHoklch(43.85% 0.107 150.6)
XYZxyz(5.2525, 9.1271, 4.3900)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166231 #621647
analogous
#216216 #166231 #166257
triadic
#166231 #311662 #623116
tetradic
#166231 #162162 #621647 #625716
square
#166231 #162162 #621647 #625716
split-complementary
#166231 #571662 #621621
monochromatic
#06190C #0B3018 #166231 #21944A #2CC663

Accessibility & contrast

On white

7.43
#166231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#166231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166231
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166231#FFFFFF#000000##FFFFFF
##1662311.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63592D
Deuteranopia (green-blind)
#595334
Tritanopia (blue-blind)
#006056
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #166231;
/* rgb */ color: rgb(22, 98, 49);
/* oklch */ color: oklch(43.9% 0.107 150.6);
Tailwind
colors: {
  custom: {
    50: '#608f6a',
    500: '#166231',
    950: '#000000',
  },
}
SCSS
$custom: #166231;
$custom-light: #608f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#166231",
  "rgb": {
    "r": 22,
    "g": 98,
    "b": 49
  },
  "hsl": {
    "h": 141.316,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43854,
    "c": 0.10704,
    "h": 150.6
  },
  "luminance": 0.09128
}

Semantic roles & 50–950 ramp

primary
#166231
secondary
#993B77
accent
#41ACE6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #166231

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

Preview Lab → · Contrast checker → · Palette generator →

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