#166829#166829

#166829 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.123 H 146.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#166829
RGBrgb(22, 104, 41)
HSLhsl(134, 65%, 25%)
HSVhsv(134, 79%, 41%)
CMYKcmyk(78.8%, 0%, 60.6%, 59.2%)
CIE-LABlab(38.25, -38.36, 28.34)
CIE-LCHlch(38.25, 47.69, 143.54°)
OKLaboklab(45.49% -0.1033 0.0673)
OKLCHoklch(45.49% 0.123 146.9)
XYZxyz(5.6810, 10.2306, 3.7727)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166829 #681655
analogous
#2C6816 #166829 #166852
triadic
#166829 #291668 #682916
tetradic
#166829 #162C68 #681655 #685216
square
#166829 #162C68 #681655 #685216
split-complementary
#166829 #521668 #68162C
monochromatic
#05190A #0B3515 #166829 #219B3D #2BCD51

Accessibility & contrast

On white

6.89
#166829 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#166829 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166829
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166829#FFFFFF#000000##FFFFFF
##1668291.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E23
Deuteranopia (green-blind)
#60572E
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166829;
/* rgb */ color: rgb(22, 104, 41);
/* oklch */ color: oklch(45.5% 0.123 146.9);
Tailwind
colors: {
  custom: {
    50: '#629465',
    500: '#166829',
    950: '#000000',
  },
}
SCSS
$custom: #166829;
$custom-light: #629465;
$custom-dark: #000000;
JSON
{
  "hex": "#166829",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 41
  },
  "hsl": {
    "h": 133.902,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45493,
    "c": 0.12328,
    "h": 146.9
  },
  "luminance": 0.10231
}

Semantic roles & 50–950 ramp

primary
#166829
secondary
#9F3B88
accent
#40C1E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166829

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

Preview Lab → · Contrast checker → · Palette generator →

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