#317554#317554

#317554 is a mid, moderate teal. Relative luminance 0.140; OKLCH L 50.9% C 0.087 H 159.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#317554
RGBrgb(49, 117, 84)
HSLhsl(151, 41%, 33%)
HSVhsv(151, 58%, 46%)
CMYKcmyk(58.1%, 0%, 28.2%, 54.1%)
CIE-LABlab(44.25, -29.92, 11.87)
CIE-LCHlch(44.25, 32.18, 158.36°)
OKLaboklab(50.89% -0.0821 0.0302)
OKLCHoklch(50.89% 0.087 159.8)
XYZxyz(9.2273, 14.0148, 10.6046)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317554 #753152
analogous
#317532 #317554 #317475
triadic
#317554 #543175 #755431
tetradic
#317554 #323175 #753152 #747531
square
#317554 #323175 #753152 #747531
split-complementary
#317554 #753174 #753231
monochromatic
#0D1F16 #1F4A35 #317554 #43A073 #63BE92

Accessibility & contrast

On white

5.52
#317554 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#317554 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317554
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317554#FFFFFF#000000##FFFFFF
##3175541.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746D52
Deuteranopia (green-blind)
#6A6656
Tritanopia (blue-blind)
#18746C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #317554;
/* rgb */ color: rgb(49, 117, 84);
/* oklch */ color: oklch(50.9% 0.087 159.8);
Tailwind
colors: {
  custom: {
    50: '#6f9d84',
    500: '#317554',
    950: '#000000',
  },
}
SCSS
$custom: #317554;
$custom-light: #6f9d84;
$custom-dark: #000000;
JSON
{
  "hex": "#317554",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 84
  },
  "hsl": {
    "h": 150.882,
    "s": 40.964,
    "l": 32.549
  },
  "oklch": {
    "l": 0.50893,
    "c": 0.08746,
    "h": 159.8
  },
  "luminance": 0.14016
}

Semantic roles & 50–950 ramp

primary
#317554
secondary
#A55D80
accent
#5792D1
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #317554

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

Preview Lab → · Contrast checker → · Palette generator →

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