#31785B#31785B

#31785B is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.9% C 0.086 H 163.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#31785B
RGBrgb(49, 120, 91)
HSLhsl(155, 42%, 33%)
HSVhsv(155, 59%, 47%)
CMYKcmyk(59.2%, 0%, 24.2%, 52.9%)
CIE-LABlab(45.41, -29.70, 9.36)
CIE-LCHlch(45.41, 31.14, 162.50°)
OKLaboklab(51.89% -0.0821 0.024)
OKLCHoklch(51.89% 0.086 163.7)
XYZxyz(9.8705, 14.8403, 12.2398)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31785B #78314E
analogous
#317837 #31785B #317178
triadic
#31785B #5B3178 #785B31
tetradic
#31785B #373178 #78314E #717831
square
#31785B #373178 #78314E #717831
split-complementary
#31785B #783171 #783731
monochromatic
#0E2119 #1F4D3A #31785B #43A37C #64C09A

Accessibility & contrast

On white

5.29
#31785B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#31785B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31785B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31785B#FFFFFF#000000##FFFFFF
##31785B1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767059
Deuteranopia (green-blind)
#6C695D
Tritanopia (blue-blind)
#117870
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #31785b;
/* rgb */ color: rgb(49, 120, 91);
/* oklch */ color: oklch(51.9% 0.086 163.7);
Tailwind
colors: {
  custom: {
    50: '#709f89',
    500: '#31785b',
    950: '#000000',
  },
}
SCSS
$custom: #31785b;
$custom-light: #709f89;
$custom-dark: #000000;
JSON
{
  "hex": "#31785b",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 91
  },
  "hsl": {
    "h": 155.493,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51894,
    "c": 0.08555,
    "h": 163.7
  },
  "luminance": 0.14841
}

Semantic roles & 50–950 ramp

primary
#31785B
secondary
#A75E7C
accent
#5689D2
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080E0B
muted
#7B7E7C

Preview Lab

Preview with #31785B

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

Preview Lab → · Contrast checker → · Palette generator →

#31785B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva