#308A7B#308A7B

#308A7B is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.6% C 0.088 H 179.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#308A7B
RGBrgb(48, 138, 123)
HSLhsl(170, 48%, 36%)
HSVhsv(170, 65%, 54%)
CMYKcmyk(65.2%, 0%, 10.9%, 45.9%)
CIE-LABlab(52.10, -30.23, 0.22)
CIE-LCHlch(52.10, 30.23, 179.59°)
OKLaboklab(57.61% -0.0876 0.0001)
OKLCHoklch(57.61% 0.088 179.9)
XYZxyz(13.8809, 20.2339, 21.9090)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A7B #8A303F
analogous
#308A4E #308A7B #306C8A
triadic
#308A7B #7B308A #8A7B30
tetradic
#308A7B #4E308A #8A303F #6C8A30
square
#308A7B #4E308A #8A303F #6C8A30
split-complementary
#308A7B #8A306C #8A4E30
monochromatic
#102F2A #205D53 #308A7B #40B7A3 #69CBBB

Accessibility & contrast

On white

4.16
#308A7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#308A7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A7B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A7B#FFFFFF#000000##000000
##308A7B1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84827A
Deuteranopia (green-blind)
#77787C
Tritanopia (blue-blind)
#008C85
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308a7b;
/* rgb */ color: rgb(48, 138, 123);
/* oklch */ color: oklch(57.6% 0.088 179.9);
Tailwind
colors: {
  custom: {
    50: '#74aca1',
    500: '#308a7b',
    950: '#000000',
  },
}
SCSS
$custom: #308a7b;
$custom-light: #74aca1;
$custom-dark: #000000;
JSON
{
  "hex": "#308a7b",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 123
  },
  "hsl": {
    "h": 170,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57609,
    "c": 0.08758,
    "h": 179.9
  },
  "luminance": 0.20235
}

Semantic roles & 50–950 ramp

primary
#308A7B
secondary
#B26471
accent
#5067D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #308A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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