#166233#166233

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

Color values

HEX#166233
RGBrgb(22, 98, 51)
HSLhsl(143, 63%, 24%)
HSVhsv(143, 78%, 38%)
CMYKcmyk(77.6%, 0%, 48%, 61.6%)
CIE-LABlab(36.26, -34.29, 20.36)
CIE-LCHlch(36.26, 39.88, 149.30°)
OKLaboklab(43.89% -0.0923 0.0501)
OKLCHoklch(43.89% 0.105 151.5)
XYZxyz(5.2956, 9.1443, 4.6173)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166233 #621645
analogous
#1F6216 #166233 #166259
triadic
#166233 #331662 #623316
tetradic
#166233 #161F62 #621645 #625916
square
#166233 #161F62 #621645 #625916
split-complementary
#166233 #591662 #62161F
monochromatic
#06190D #0B3019 #166233 #21944D #2CC667

Accessibility & contrast

On white

7.42
#166233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #166233
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166233#FFFFFF#000000##FFFFFF
##1662331.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62592F
Deuteranopia (green-blind)
#595336
Tritanopia (blue-blind)
#006057
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #166233;
/* rgb */ color: rgb(22, 98, 51);
/* oklch */ color: oklch(43.9% 0.105 151.5);
Tailwind
colors: {
  custom: {
    50: '#608f6b',
    500: '#166233',
    950: '#000000',
  },
}
SCSS
$custom: #166233;
$custom-light: #608f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#166233",
  "rgb": {
    "r": 22,
    "g": 98,
    "b": 51
  },
  "hsl": {
    "h": 142.895,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43892,
    "c": 0.10499,
    "h": 151.5
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

primary
#166233
secondary
#993B75
accent
#41A7E6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #166233

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

Preview Lab → · Contrast checker → · Palette generator →

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