#176842#176842

#176842 is a mid, moderate teal. Relative luminance 0.105; OKLCH L 46.0% C 0.098 H 157.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#176842
RGBrgb(23, 104, 66)
HSLhsl(152, 64%, 25%)
HSVhsv(152, 78%, 41%)
CMYKcmyk(77.9%, 0%, 36.5%, 59.2%)
CIE-LABlab(38.68, -33.50, 14.76)
CIE-LCHlch(38.68, 36.60, 156.22°)
OKLaboklab(45.99% -0.0907 0.0372)
OKLCHoklch(45.99% 0.098 157.7)
XYZxyz(6.2864, 10.4754, 6.8438)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176842 #68173D
analogous
#176819 #176842 #176668
triadic
#176842 #421768 #684217
tetradic
#176842 #191768 #68173D #666817
square
#176842 #191768 #68173D #666817
split-complementary
#176842 #681766 #681917
monochromatic
#061910 #0C3622 #176842 #229A62 #2DCC82

Accessibility & contrast

On white

6.78
#176842 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#176842 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176842
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176842#FFFFFF#000000##FFFFFF
##1768421.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F40
Deuteranopia (green-blind)
#5D5844
Tritanopia (blue-blind)
#00675E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #176842;
/* rgb */ color: rgb(23, 104, 66);
/* oklch */ color: oklch(46.0% 0.098 157.7);
Tailwind
colors: {
  custom: {
    50: '#629476',
    500: '#176842',
    950: '#000000',
  },
}
SCSS
$custom: #176842;
$custom-light: #629476;
$custom-dark: #000000;
JSON
{
  "hex": "#176842",
  "rgb": {
    "r": 23,
    "g": 104,
    "b": 66
  },
  "hsl": {
    "h": 151.852,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45987,
    "c": 0.09807,
    "h": 157.7
  },
  "luminance": 0.10476
}

Semantic roles & 50–950 ramp

primary
#176842
secondary
#9E3D6A
accent
#418FE7
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #176842

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

Preview Lab → · Contrast checker → · Palette generator →

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