#318271#318271

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

Color values

HEX#318271
RGBrgb(49, 130, 113)
HSLhsl(167, 45%, 35%)
HSVhsv(167, 62%, 51%)
CMYKcmyk(62.3%, 0%, 13.1%, 49%)
CIE-LABlab(49.26, -28.89, 1.93)
CIE-LCHlch(49.26, 28.96, 176.19°)
OKLaboklab(55.22% -0.0828 0.0047)
OKLCHoklch(55.22% 0.083 176.8)
XYZxyz(12.2285, 17.8092, 18.4127)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318271 #823142
analogous
#318248 #318271 #316B82
triadic
#318271 #713182 #827131
tetradic
#318271 #483182 #823142 #6B8231
square
#318271 #483182 #823142 #6B8231
split-complementary
#318271 #82316B #824831
monochromatic
#0F2924 #20564A #318271 #42AE98 #68C6B2

Accessibility & contrast

On white

4.60
#318271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #318271
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318271#FFFFFF#000000##FFFFFF
##3182711.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.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: #318271;
/* rgb */ color: rgb(49, 130, 113);
/* oklch */ color: oklch(55.2% 0.083 176.8);
Tailwind
colors: {
  custom: {
    50: '#72a799',
    500: '#318271',
    950: '#000000',
  },
}
SCSS
$custom: #318271;
$custom-light: #72a799;
$custom-dark: #000000;
JSON
{
  "hex": "#318271",
  "rgb": {
    "r": 49,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 167.407,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55217,
    "c": 0.08298,
    "h": 176.8
  },
  "luminance": 0.1781
}

Semantic roles & 50–950 ramp

primary
#318271
secondary
#AD6271
accent
#536ED5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #318271

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

Preview Lab → · Contrast checker → · Palette generator →

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