#308173#308173

#308173 is a mid, moderate teal. Relative luminance 0.176; OKLCH L 55.0% C 0.081 H 179.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#308173
RGBrgb(48, 129, 115)
HSLhsl(170, 46%, 35%)
HSVhsv(170, 63%, 51%)
CMYKcmyk(62.8%, 0%, 10.9%, 49.4%)
CIE-LABlab(48.96, -28.06, 0.31)
CIE-LCHlch(48.96, 28.06, 179.36°)
OKLaboklab(54.98% -0.0813 0.0004)
OKLCHoklch(54.98% 0.081 179.7)
XYZxyz(12.1623, 17.5654, 18.9658)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308173 #81303E
analogous
#30814B #308173 #306681
triadic
#308173 #733081 #817330
tetradic
#308173 #4B3081 #81303E #668130
square
#308173 #4B3081 #81303E #668130
split-complementary
#308173 #813066 #814B30
monochromatic
#0F2823 #1F544B #308173 #41AE9B #66C6B5

Accessibility & contrast

On white

4.65
#308173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#308173 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308173
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308173#FFFFFF#000000##FFFFFF
##3081731.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7A72
Deuteranopia (green-blind)
#707174
Tritanopia (blue-blind)
#00837D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308173;
/* rgb */ color: rgb(48, 129, 115);
/* oklch */ color: oklch(55.0% 0.081 179.7);
Tailwind
colors: {
  custom: {
    50: '#72a69b',
    500: '#308173',
    950: '#000000',
  },
}
SCSS
$custom: #308173;
$custom-light: #72a69b;
$custom-dark: #000000;
JSON
{
  "hex": "#308173",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 115
  },
  "hsl": {
    "h": 169.63,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54983,
    "c": 0.0813,
    "h": 179.7
  },
  "luminance": 0.17567
}

Semantic roles & 50–950 ramp

primary
#308173
secondary
#AD606D
accent
#5269D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #308173

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

Preview Lab → · Contrast checker → · Palette generator →

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