#31B398#31B398

#31B398 is a light, moderate teal. Relative luminance 0.352; OKLCH L 69.1% C 0.117 H 175.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#31B398
RGBrgb(49, 179, 152)
HSLhsl(168, 57%, 45%)
HSVhsv(168, 73%, 70%)
CMYKcmyk(72.6%, 0%, 15.1%, 29.8%)
CIE-LABlab(65.87, -41.08, 3.80)
CIE-LCHlch(65.87, 41.26, 174.71°)
OKLaboklab(69.1% -0.1168 0.0094)
OKLCHoklch(69.1% 0.117 175.4)
XYZxyz(23.0514, 35.1574, 35.2709)
Luminance0.3516 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B398 #B3314C
analogous
#31B357 #31B398 #318DB3
triadic
#31B398 #9831B3 #B39831
tetradic
#31B398 #5731B3 #B3314C #8DB331
square
#31B398 #5731B3 #B3314C #8DB331
split-complementary
#31B398 #B3318D #B35731
monochromatic
#175346 #24836F #31B398 #52D0B5 #82DDCA

Accessibility & contrast

On white

2.61
#31B398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#31B398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B398
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B398#FFFFFF#000000##000000
##31B3981.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA897
Deuteranopia (green-blind)
#9B9B9A
Tritanopia (blue-blind)
#00B5AB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b398;
/* rgb */ color: rgb(49, 179, 152);
/* oklch */ color: oklch(69.1% 0.117 175.4);
Tailwind
colors: {
  custom: {
    50: '#7ccab6',
    500: '#31b398',
    950: '#000000',
  },
}
SCSS
$custom: #31b398;
$custom-light: #7ccab6;
$custom-dark: #000000;
JSON
{
  "hex": "#31b398",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 152
  },
  "hsl": {
    "h": 167.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69104,
    "c": 0.11715,
    "h": 175.4
  },
  "luminance": 0.3516
}

Semantic roles & 50–950 ramp

primary
#31B398
secondary
#C67A8A
accent
#4867E0
background
#F8FCFB
surface
#EFF8F6
border
#CAD1D0
text
#0B1311
muted
#7C8280

Preview Lab

Preview with #31B398

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

Preview Lab → · Contrast checker → · Palette generator →

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