#317151#317151

#317151 is a mid, moderate teal. Relative luminance 0.131; OKLCH L 49.7% C 0.084 H 159.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#317151
RGBrgb(49, 113, 81)
HSLhsl(150, 40%, 32%)
HSVhsv(150, 57%, 44%)
CMYKcmyk(56.6%, 0%, 28.3%, 55.7%)
CIE-LABlab(42.85, -28.70, 11.69)
CIE-LCHlch(42.85, 30.99, 157.84°)
OKLaboklab(49.72% -0.0787 0.0298)
OKLCHoklch(49.72% 0.084 159.3)
XYZxyz(8.6562, 13.0565, 9.8470)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317151 #713151
analogous
#317131 #317151 #317171
triadic
#317151 #513171 #715131
tetradic
#317151 #313171 #713151 #717131
square
#317151 #313171 #713151 #717131
split-complementary
#317151 #713171 #713131
monochromatic
#0C1C14 #1E4632 #317151 #449C70 #62BB8E

Accessibility & contrast

On white

5.81
#317151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#317151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317151
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317151#FFFFFF#000000##FFFFFF
##3171511.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70694F
Deuteranopia (green-blind)
#676353
Tritanopia (blue-blind)
#1B7068
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #317151;
/* rgb */ color: rgb(49, 113, 81);
/* oklch */ color: oklch(49.7% 0.084 159.3);
Tailwind
colors: {
  custom: {
    50: '#6f9a82',
    500: '#317151',
    950: '#000000',
  },
}
SCSS
$custom: #317151;
$custom-light: #6f9a82;
$custom-dark: #000000;
JSON
{
  "hex": "#317151",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 81
  },
  "hsl": {
    "h": 150,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49723,
    "c": 0.08418,
    "h": 159.3
  },
  "luminance": 0.13057
}

Semantic roles & 50–950 ramp

primary
#317151
secondary
#A25C7F
accent
#5894CF
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #317151

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

Preview Lab → · Contrast checker → · Palette generator →

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