#317255#317255

#317255 is a mid, moderate teal. Relative luminance 0.133; OKLCH L 50.1% C 0.082 H 162.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#317255
RGBrgb(49, 114, 85)
HSLhsl(153, 40%, 32%)
HSVhsv(153, 57%, 45%)
CMYKcmyk(57%, 0%, 25.4%, 55.3%)
CIE-LABlab(43.28, -28.25, 9.91)
CIE-LCHlch(43.28, 29.94, 160.67°)
OKLaboklab(50.1% -0.0779 0.0254)
OKLCHoklch(50.1% 0.082 162)
XYZxyz(8.9228, 13.3427, 10.6977)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317255 #72314E
analogous
#317235 #317255 #316F72
triadic
#317255 #553172 #725531
tetradic
#317255 #353172 #72314E #6F7231
square
#317255 #353172 #72314E #6F7231
split-complementary
#317255 #72316F #723531
monochromatic
#0C1C15 #1F4735 #317255 #439D75 #62BB94

Accessibility & contrast

On white

5.72
#317255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#317255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317255
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317255#FFFFFF#000000##FFFFFF
##3172551.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706A53
Deuteranopia (green-blind)
#676357
Tritanopia (blue-blind)
#18726A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #317255;
/* rgb */ color: rgb(49, 114, 85);
/* oklch */ color: oklch(50.1% 0.082 162.0);
Tailwind
colors: {
  custom: {
    50: '#6f9b85',
    500: '#317255',
    950: '#000000',
  },
}
SCSS
$custom: #317255;
$custom-light: #6f9b85;
$custom-dark: #000000;
JSON
{
  "hex": "#317255",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 85
  },
  "hsl": {
    "h": 153.231,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50102,
    "c": 0.08194,
    "h": 162
  },
  "luminance": 0.13343
}

Semantic roles & 50–950 ramp

primary
#317255
secondary
#A35C7C
accent
#588DD0
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#080E0B
muted
#7B7E7C

Preview Lab

Preview with #317255

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

Preview Lab → · Contrast checker → · Palette generator →

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