#31B978#31B978

#31B978 is a light, vivid teal. Relative luminance 0.367; OKLCH L 69.8% C 0.150 H 157.3°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#31B978
RGBrgb(49, 185, 120)
HSLhsl(151, 58%, 46%)
HSVhsv(151, 74%, 73%)
CMYKcmyk(73.5%, 0%, 35.1%, 27.5%)
CIE-LABlab(67.05, -50.98, 22.91)
CIE-LCHlch(67.05, 55.89, 155.81°)
OKLaboklab(69.85% -0.138 0.0576)
OKLCHoklch(69.85% 0.15 157.3)
XYZxyz(22.0036, 36.7044, 23.6907)
Luminance0.3671 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B978 #B93172
analogous
#31B934 #31B978 #31B6B9
triadic
#31B978 #7831B9 #B97831
tetradic
#31B978 #3431B9 #B93172 #B6B931
square
#31B978 #3431B9 #B93172 #B6B931
split-complementary
#31B978 #B931B6 #B93431
monochromatic
#175839 #248959 #31B978 #55D296 #86DFB4

Accessibility & contrast

On white

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

On black

8.34
#31B978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B978
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B978#FFFFFF#000000##000000
##31B9781.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AA74
Deuteranopia (green-blind)
#A79E7C
Tritanopia (blue-blind)
#00B8A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b978;
/* rgb */ color: rgb(49, 185, 120);
/* oklch */ color: oklch(69.8% 0.150 157.3);
Tailwind
colors: {
  custom: {
    50: '#7ccf9f',
    500: '#31b978',
    950: '#000000',
  },
}
SCSS
$custom: #31b978;
$custom-light: #7ccf9f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b978",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 120
  },
  "hsl": {
    "h": 151.324,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69845,
    "c": 0.1496,
    "h": 157.3
  },
  "luminance": 0.36707
}

Semantic roles & 50–950 ramp

primary
#31B978
secondary
#C87DA1
accent
#4690E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B978

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

Preview Lab → · Contrast checker → · Palette generator →

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