#308271#308271

#308271 is a mid, moderate teal. Relative luminance 0.178; OKLCH L 55.2% C 0.084 H 176.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#308271
RGBrgb(48, 130, 113)
HSLhsl(168, 46%, 35%)
HSVhsv(168, 63%, 51%)
CMYKcmyk(63.1%, 0%, 13.1%, 49%)
CIE-LABlab(49.23, -29.09, 1.88)
CIE-LCHlch(49.23, 29.15, 176.31°)
OKLaboklab(55.18% -0.0834 0.0045)
OKLCHoklch(55.18% 0.084 176.9)
XYZxyz(12.1808, 17.7846, 18.4104)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308271 #823041
analogous
#308248 #308271 #306A82
triadic
#308271 #713082 #827130
tetradic
#308271 #483082 #823041 #6A8230
square
#308271 #483082 #823041 #6A8230
split-complementary
#308271 #82306A #824830
monochromatic
#0F2923 #1F554A #308271 #41AF98 #66C6B2

Accessibility & contrast

On white

4.61
#308271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#308271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308271
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308271#FFFFFF#000000##FFFFFF
##3082711.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7A70
Deuteranopia (green-blind)
#717172
Tritanopia (blue-blind)
#00847D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308271;
/* rgb */ color: rgb(48, 130, 113);
/* oklch */ color: oklch(55.2% 0.084 176.9);
Tailwind
colors: {
  custom: {
    50: '#72a799',
    500: '#308271',
    950: '#000000',
  },
}
SCSS
$custom: #308271;
$custom-light: #72a799;
$custom-dark: #000000;
JSON
{
  "hex": "#308271",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 167.561,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55184,
    "c": 0.08355,
    "h": 176.9
  },
  "luminance": 0.17786
}

Semantic roles & 50–950 ramp

primary
#308271
secondary
#AE6070
accent
#526DD6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #308271

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

Preview Lab → · Contrast checker → · Palette generator →

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