#308371#308371

#308371 is a mid, moderate teal. Relative luminance 0.181; OKLCH L 55.4% C 0.085 H 176.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#308371
RGBrgb(48, 131, 113)
HSLhsl(167, 46%, 35%)
HSVhsv(167, 63%, 51%)
CMYKcmyk(63.4%, 0%, 13.7%, 48.6%)
CIE-LABlab(49.56, -29.58, 2.35)
CIE-LCHlch(49.56, 29.67, 175.46°)
OKLaboklab(55.45% -0.0846 0.0058)
OKLCHoklch(55.45% 0.085 176.1)
XYZxyz(12.3145, 18.0519, 18.4550)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308371 #833042
analogous
#308347 #308371 #306B83
triadic
#308371 #713083 #837130
tetradic
#308371 #473083 #833042 #6B8330
square
#308371 #473083 #833042 #6B8330
split-complementary
#308371 #83306B #834730
monochromatic
#0F2924 #20564A #308371 #40B098 #66C7B2

Accessibility & contrast

On white

4.55
#308371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#308371 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308371
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308371#FFFFFF#000000##000000
##3083711.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7B70
Deuteranopia (green-blind)
#727272
Tritanopia (blue-blind)
#00857E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #308371;
/* rgb */ color: rgb(48, 131, 113);
/* oklch */ color: oklch(55.4% 0.085 176.1);
Tailwind
colors: {
  custom: {
    50: '#72a799',
    500: '#308371',
    950: '#000000',
  },
}
SCSS
$custom: #308371;
$custom-light: #72a799;
$custom-dark: #000000;
JSON
{
  "hex": "#308371",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 113
  },
  "hsl": {
    "h": 166.988,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55448,
    "c": 0.08477,
    "h": 176.1
  },
  "luminance": 0.18053
}

Semantic roles & 50–950 ramp

primary
#308371
secondary
#AE6171
accent
#526ED6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #308371

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

Preview Lab → · Contrast checker → · Palette generator →

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