#31885F#31885F

#31885F is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.3% C 0.105 H 159.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#31885F
RGBrgb(49, 136, 95)
HSLhsl(152, 47%, 36%)
HSVhsv(152, 64%, 53%)
CMYKcmyk(64%, 0%, 30.1%, 46.7%)
CIE-LABlab(50.79, -36.11, 14.52)
CIE-LCHlch(50.79, 38.92, 158.09°)
OKLaboklab(56.32% -0.0986 0.0369)
OKLCHoklch(56.32% 0.105 159.5)
XYZxyz(12.1352, 19.0863, 13.8687)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31885F #88315A
analogous
#318834 #31885F #318688
triadic
#31885F #5F3188 #885F31
tetradic
#31885F #343188 #88315A #868831
square
#31885F #343188 #88315A #868831
split-complementary
#31885F #883186 #883431
monochromatic
#112E20 #215B40 #31885F #41B57E #6AC99C

Accessibility & contrast

On white

4.36
#31885F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#31885F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31885F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31885F#FFFFFF#000000##000000
##31885F1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877E5D
Deuteranopia (green-blind)
#7B7662
Tritanopia (blue-blind)
#00877D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #31885f;
/* rgb */ color: rgb(49, 136, 95);
/* oklch */ color: oklch(56.3% 0.105 159.5);
Tailwind
colors: {
  custom: {
    50: '#73ab8c',
    500: '#31885f',
    950: '#000000',
  },
}
SCSS
$custom: #31885f;
$custom-light: #73ab8c;
$custom-dark: #000000;
JSON
{
  "hex": "#31885f",
  "rgb": {
    "r": 49,
    "g": 136,
    "b": 95
  },
  "hsl": {
    "h": 151.724,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56317,
    "c": 0.10532,
    "h": 159.5
  },
  "luminance": 0.19088
}

Semantic roles & 50–950 ramp

primary
#31885F
secondary
#B16488
accent
#5190D7
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #31885F

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

Preview Lab → · Contrast checker → · Palette generator →

#31885F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva