#31B98F#31B98F

#31B98F is a light, vivid teal. Relative luminance 0.373; OKLCH L 70.4% C 0.130 H 167.4°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#31B98F
RGBrgb(49, 185, 143)
HSLhsl(161, 58%, 46%)
HSVhsv(161, 74%, 73%)
CMYKcmyk(73.5%, 0%, 22.7%, 27.5%)
CIE-LABlab(67.52, -45.89, 11.11)
CIE-LCHlch(67.52, 47.21, 166.39°)
OKLaboklab(70.39% -0.1271 0.0284)
OKLCHoklch(70.39% 0.13 167.4)
XYZxyz(23.5708, 37.3313, 31.9447)
Luminance0.3733 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B98F #B9315B
analogous
#31B94B #31B98F #319FB9
triadic
#31B98F #8F31B9 #B98F31
tetradic
#31B98F #4B31B9 #B9315B #9FB931
square
#31B98F #4B31B9 #B9315B #9FB931
split-complementary
#31B98F #B9319F #B94B31
monochromatic
#175844 #24896A #31B98F #55D2AB #86DFC3

Accessibility & contrast

On white

2.48
#31B98F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#31B98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B98F
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B98F#FFFFFF#000000##000000
##31B98F1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4AC8D
Deuteranopia (green-blind)
#A39F92
Tritanopia (blue-blind)
#00BAAD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b98f;
/* rgb */ color: rgb(49, 185, 143);
/* oklch */ color: oklch(70.4% 0.130 167.4);
Tailwind
colors: {
  custom: {
    50: '#7dcfaf',
    500: '#31b98f',
    950: '#000000',
  },
}
SCSS
$custom: #31b98f;
$custom-light: #7dcfaf;
$custom-dark: #000000;
JSON
{
  "hex": "#31b98f",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 143
  },
  "hsl": {
    "h": 161.471,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70387,
    "c": 0.13026,
    "h": 167.4
  },
  "luminance": 0.37334
}

Semantic roles & 50–950 ramp

primary
#31B98F
secondary
#C87D95
accent
#4676E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1410
muted
#7C827F

Preview Lab

Preview with #31B98F

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

Preview Lab → · Contrast checker → · Palette generator →

#31B98F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva