#308C7D#308C7D

#308C7D is a mid, moderate teal. Relative luminance 0.209; OKLCH L 58.2% C 0.089 H 180.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#308C7D
RGBrgb(48, 140, 125)
HSLhsl(170, 49%, 37%)
HSVhsv(170, 66%, 55%)
CMYKcmyk(65.7%, 0%, 10.7%, 45.1%)
CIE-LABlab(52.80, -30.64, 0.08)
CIE-LCHlch(52.80, 30.64, 179.85°)
OKLaboklab(58.2% -0.0888 -0.0003)
OKLCHoklch(58.2% 0.089 180.2)
XYZxyz(14.2969, 20.8637, 22.6717)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C7D #8C303F
analogous
#308C4F #308C7D #306D8C
triadic
#308C7D #7D308C #8C7D30
tetradic
#308C7D #4F308C #8C303F #6D8C30
square
#308C7D #4F308C #8C303F #6D8C30
split-complementary
#308C7D #8C306D #8C4F30
monochromatic
#11312C #205E54 #308C7D #40BAA6 #6ACCBC

Accessibility & contrast

On white

4.06
#308C7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#308C7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C7D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C7D#FFFFFF#000000##000000
##308C7D1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86847C
Deuteranopia (green-blind)
#797A7E
Tritanopia (blue-blind)
#008E87
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #308c7d;
/* rgb */ color: rgb(48, 140, 125);
/* oklch */ color: oklch(58.2% 0.089 180.2);
Tailwind
colors: {
  custom: {
    50: '#74aea2',
    500: '#308c7d',
    950: '#000000',
  },
}
SCSS
$custom: #308c7d;
$custom-light: #74aea2;
$custom-dark: #000000;
JSON
{
  "hex": "#308c7d",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 125
  },
  "hsl": {
    "h": 170.217,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58196,
    "c": 0.08884,
    "h": 180.2
  },
  "luminance": 0.20865
}

Semantic roles & 50–950 ramp

primary
#308C7D
secondary
#B36471
accent
#4F66D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #308C7D

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

Preview Lab → · Contrast checker → · Palette generator →

#308C7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva