#166833#166833

#166833 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.114 H 150.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#166833
RGBrgb(22, 104, 51)
HSLhsl(141, 65%, 25%)
HSVhsv(141, 79%, 41%)
CMYKcmyk(78.8%, 0%, 51%, 59.2%)
CIE-LABlab(38.39, -36.72, 23.07)
CIE-LCHlch(38.39, 43.37, 147.86°)
OKLaboklab(45.65% -0.0987 0.0563)
OKLCHoklch(45.65% 0.114 150.3)
XYZxyz(5.8782, 10.3095, 4.8115)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166833 #68164B
analogous
#226816 #166833 #16685C
triadic
#166833 #331668 #683316
tetradic
#166833 #162268 #68164B #685C16
square
#166833 #162268 #68164B #685C16
split-complementary
#166833 #5C1668 #681622
monochromatic
#05190C #0B351A #166833 #219B4C #2BCD65

Accessibility & contrast

On white

6.86
#166833 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#166833 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166833
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166833#FFFFFF#000000##FFFFFF
##1668331.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E2F
Deuteranopia (green-blind)
#5F5837
Tritanopia (blue-blind)
#00665B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166833;
/* rgb */ color: rgb(22, 104, 51);
/* oklch */ color: oklch(45.7% 0.114 150.3);
Tailwind
colors: {
  custom: {
    50: '#62946b',
    500: '#166833',
    950: '#000000',
  },
}
SCSS
$custom: #166833;
$custom-light: #62946b;
$custom-dark: #000000;
JSON
{
  "hex": "#166833",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 51
  },
  "hsl": {
    "h": 141.22,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45653,
    "c": 0.11363,
    "h": 150.3
  },
  "luminance": 0.1031
}

Semantic roles & 50–950 ramp

primary
#166833
secondary
#9F3B7B
accent
#40ADE8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #166833

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

Preview Lab → · Contrast checker → · Palette generator →

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