#176840#176840

#176840 is a mid, moderate teal. Relative luminance 0.105; OKLCH L 45.9% C 0.100 H 156.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#176840
RGBrgb(23, 104, 64)
HSLhsl(150, 64%, 25%)
HSVhsv(150, 78%, 41%)
CMYKcmyk(77.9%, 0%, 38.5%, 59.2%)
CIE-LABlab(38.64, -33.94, 15.89)
CIE-LCHlch(38.64, 37.48, 154.91°)
OKLaboklab(45.94% -0.0918 0.0399)
OKLCHoklch(45.94% 0.1 156.5)
XYZxyz(6.2285, 10.4522, 6.5387)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176840 #68173F
analogous
#176817 #176840 #176868
triadic
#176840 #401768 #684017
tetradic
#176840 #171768 #68173F #686817
square
#176840 #171768 #68173F #686817
split-complementary
#176840 #681768 #681717
monochromatic
#06190F #0C3621 #176840 #229A5F #2DCC7E

Accessibility & contrast

On white

6.79
#176840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#176840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176840
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176840#FFFFFF#000000##FFFFFF
##1768401.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #176840;
/* rgb */ color: rgb(23, 104, 64);
/* oklch */ color: oklch(45.9% 0.100 156.5);
Tailwind
colors: {
  custom: {
    50: '#629475',
    500: '#176840',
    950: '#000000',
  },
}
SCSS
$custom: #176840;
$custom-light: #629475;
$custom-dark: #000000;
JSON
{
  "hex": "#176840",
  "rgb": {
    "r": 23,
    "g": 104,
    "b": 64
  },
  "hsl": {
    "h": 150.37,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4594,
    "c": 0.10008,
    "h": 156.5
  },
  "luminance": 0.10453
}

Semantic roles & 50–950 ramp

primary
#176840
secondary
#9E3D6D
accent
#4193E7
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #176840

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

Preview Lab → · Contrast checker → · Palette generator →

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