#317256#317256

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

Color values

HEX#317256
RGBrgb(49, 114, 86)
HSLhsl(154, 40%, 32%)
HSVhsv(154, 57%, 45%)
CMYKcmyk(57%, 0%, 24.6%, 55.3%)
CIE-LABlab(43.30, -28.02, 9.35)
CIE-LCHlch(43.30, 29.54, 161.54°)
OKLaboklab(50.13% -0.0774 0.0239)
OKLCHoklch(50.13% 0.081 162.8)
XYZxyz(8.9628, 13.3587, 10.9084)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317256 #72314D
analogous
#317236 #317256 #316E72
triadic
#317256 #563172 #725631
tetradic
#317256 #363172 #72314D #6E7231
square
#317256 #363172 #72314D #6E7231
split-complementary
#317256 #72316E #723631
monochromatic
#0C1C15 #1F4736 #317256 #439D76 #62BB95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317256#FFFFFF#000000##FFFFFF
##3172561.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)
#706A54
Deuteranopia (green-blind)
#676458
Tritanopia (blue-blind)
#18726A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #317256;
/* rgb */ color: rgb(49, 114, 86);
/* oklch */ color: oklch(50.1% 0.081 162.8);
Tailwind
colors: {
  custom: {
    50: '#6f9b85',
    500: '#317256',
    950: '#000000',
  },
}
SCSS
$custom: #317256;
$custom-light: #6f9b85;
$custom-dark: #000000;
JSON
{
  "hex": "#317256",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 86
  },
  "hsl": {
    "h": 154.154,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50129,
    "c": 0.08102,
    "h": 162.8
  },
  "luminance": 0.13359
}

Semantic roles & 50–950 ramp

primary
#317256
secondary
#A35C7A
accent
#588CD0
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#080E0B
muted
#7B7E7C

Preview Lab

Preview with #317256

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

Preview Lab → · Contrast checker → · Palette generator →

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