#31BB98#31BB98

#31BB98 is a light, vivid teal. Relative luminance 0.385; OKLCH L 71.1% C 0.126 H 171.5°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#31BB98
RGBrgb(49, 187, 152)
HSLhsl(165, 58%, 46%)
HSVhsv(165, 74%, 73%)
CMYKcmyk(73.8%, 0%, 18.7%, 26.7%)
CIE-LABlab(68.36, -44.53, 7.38)
CIE-LCHlch(68.36, 45.13, 170.59°)
OKLaboklab(71.14% -0.1248 0.0188)
OKLCHoklch(71.14% 0.126 171.5)
XYZxyz(24.7015, 38.4577, 35.8209)
Luminance0.3846 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BB98 #BB3154
analogous
#31BB53 #31BB98 #3199BB
triadic
#31BB98 #9831BB #BB9831
tetradic
#31BB98 #5331BB #BB3154 #99BB31
square
#31BB98 #5331BB #BB3154 #99BB31
split-complementary
#31BB98 #BB3199 #BB5331
monochromatic
#185A49 #248B71 #31BB98 #56D3B3 #87E0C9

Accessibility & contrast

On white

2.42
#31BB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#31BB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BB98
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BB98#FFFFFF#000000##000000
##31BB981.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5AE96
Deuteranopia (green-blind)
#A3A19A
Tritanopia (blue-blind)
#00BDB1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31bb98;
/* rgb */ color: rgb(49, 187, 152);
/* oklch */ color: oklch(71.1% 0.126 171.5);
Tailwind
colors: {
  custom: {
    50: '#7ed0b6',
    500: '#31bb98',
    950: '#000000',
  },
}
SCSS
$custom: #31bb98;
$custom-light: #7ed0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#31bb98",
  "rgb": {
    "r": 49,
    "g": 187,
    "b": 152
  },
  "hsl": {
    "h": 164.783,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71138,
    "c": 0.12625,
    "h": 171.5
  },
  "luminance": 0.38461
}

Semantic roles & 50–950 ramp

primary
#31BB98
secondary
#C97F92
accent
#466EE2
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1411
muted
#7C8280

Preview Lab

Preview with #31BB98

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

Preview Lab → · Contrast checker → · Palette generator →

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