#31B97B#31B97B

#31B97B is a light, vivid teal. Relative luminance 0.368; OKLCH L 69.9% C 0.147 H 158.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#31B97B
RGBrgb(49, 185, 123)
HSLhsl(153, 58%, 46%)
HSVhsv(153, 74%, 73%)
CMYKcmyk(73.5%, 0%, 33.5%, 27.5%)
CIE-LABlab(67.11, -50.37, 21.38)
CIE-LCHlch(67.11, 54.71, 157.00°)
OKLaboklab(69.91% -0.1366 0.054)
OKLCHoklch(69.91% 0.147 158.5)
XYZxyz(22.1885, 36.7784, 24.6646)
Luminance0.3678 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B97B #B9316F
analogous
#31B937 #31B97B #31B3B9
triadic
#31B97B #7B31B9 #B97B31
tetradic
#31B97B #3731B9 #B9316F #B3B931
square
#31B97B #3731B9 #B9316F #B3B931
split-complementary
#31B97B #B931B3 #B93731
monochromatic
#17583B #24895B #31B97B #55D299 #86DFB6

Accessibility & contrast

On white

2.51
#31B97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#31B97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B97B
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B97B#FFFFFF#000000##000000
##31B97B1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AB77
Deuteranopia (green-blind)
#A69E7F
Tritanopia (blue-blind)
#00B8A9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b97b;
/* rgb */ color: rgb(49, 185, 123);
/* oklch */ color: oklch(69.9% 0.147 158.5);
Tailwind
colors: {
  custom: {
    50: '#7ccfa1',
    500: '#31b97b',
    950: '#000000',
  },
}
SCSS
$custom: #31b97b;
$custom-light: #7ccfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#31b97b",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 123
  },
  "hsl": {
    "h": 152.647,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69909,
    "c": 0.14691,
    "h": 158.5
  },
  "luminance": 0.36781
}

Semantic roles & 50–950 ramp

primary
#31B97B
secondary
#C87DA0
accent
#468DE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140F
muted
#7C827E

Preview Lab

Preview with #31B97B

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

Preview Lab → · Contrast checker → · Palette generator →

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