#318166#318166

#318166 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.6% C 0.089 H 167.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#318166
RGBrgb(49, 129, 102)
HSLhsl(160, 45%, 35%)
HSVhsv(160, 62%, 51%)
CMYKcmyk(62%, 0%, 20.9%, 49.4%)
CIE-LABlab(48.65, -31.27, 7.48)
CIE-LCHlch(48.65, 32.15, 166.54°)
OKLaboklab(54.62% -0.0872 0.0192)
OKLCHoklch(54.62% 0.089 167.6)
XYZxyz(11.5140, 17.3116, 15.3025)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318166 #81314C
analogous
#31813E #318166 #317481
triadic
#318166 #663181 #816631
tetradic
#318166 #3E3181 #81314C #748131
square
#318166 #3E3181 #81314C #748131
split-complementary
#318166 #813174 #813E31
monochromatic
#0F2820 #205543 #318166 #42AD89 #67C5A6

Accessibility & contrast

On white

4.71
#318166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#318166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318166
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318166#FFFFFF#000000##FFFFFF
##3181661.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7865
Deuteranopia (green-blind)
#737068
Tritanopia (blue-blind)
#008279
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #318166;
/* rgb */ color: rgb(49, 129, 102);
/* oklch */ color: oklch(54.6% 0.089 167.6);
Tailwind
colors: {
  custom: {
    50: '#72a691',
    500: '#318166',
    950: '#000000',
  },
}
SCSS
$custom: #318166;
$custom-light: #72a691;
$custom-dark: #000000;
JSON
{
  "hex": "#318166",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 102
  },
  "hsl": {
    "h": 159.75,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54622,
    "c": 0.08924,
    "h": 167.6
  },
  "luminance": 0.17313
}

Semantic roles & 50–950 ramp

primary
#318166
secondary
#AD617B
accent
#537FD5
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #318166

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

Preview Lab → · Contrast checker → · Palette generator →

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