#31B975#31B975

#31B975 is a light, vivid teal. Relative luminance 0.366; OKLCH L 69.8% C 0.152 H 156.3°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#31B975
RGBrgb(49, 185, 117)
HSLhsl(150, 58%, 46%)
HSVhsv(150, 74%, 73%)
CMYKcmyk(73.5%, 0%, 36.8%, 27.5%)
CIE-LABlab(67.00, -51.58, 24.43)
CIE-LCHlch(67.00, 57.08, 154.66°)
OKLaboklab(69.78% -0.1395 0.0613)
OKLCHoklch(69.78% 0.152 156.3)
XYZxyz(21.8244, 36.6327, 22.7468)
Luminance0.3664 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B975 #B93175
analogous
#31B931 #31B975 #31B9B9
triadic
#31B975 #7531B9 #B97531
tetradic
#31B975 #3131B9 #B93175 #B9B931
square
#31B975 #3131B9 #B93175 #B9B931
split-complementary
#31B975 #B931B9 #B93131
monochromatic
#175838 #248956 #31B975 #55D294 #86DFB2

Accessibility & contrast

On white

2.52
#31B975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#31B975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B975
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B975#FFFFFF#000000##000000
##31B9751.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AA71
Deuteranopia (green-blind)
#A79E79
Tritanopia (blue-blind)
#00B7A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b975;
/* rgb */ color: rgb(49, 185, 117);
/* oklch */ color: oklch(69.8% 0.152 156.3);
Tailwind
colors: {
  custom: {
    50: '#7ccf9d',
    500: '#31b975',
    950: '#000000',
  },
}
SCSS
$custom: #31b975;
$custom-light: #7ccf9d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b975",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 117
  },
  "hsl": {
    "h": 150,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69783,
    "c": 0.15233,
    "h": 156.3
  },
  "luminance": 0.36635
}

Semantic roles & 50–950 ramp

primary
#31B975
secondary
#C87DA3
accent
#4694E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B975

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

Preview Lab → · Contrast checker → · Palette generator →

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