#31B778#31B778

#31B778 is a light, vivid teal. Relative luminance 0.359; OKLCH L 69.3% C 0.147 H 157.8°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#31B778
RGBrgb(49, 183, 120)
HSLhsl(152, 58%, 45%)
HSVhsv(152, 73%, 72%)
CMYKcmyk(73.2%, 0%, 34.4%, 28.2%)
CIE-LABlab(66.42, -50.21, 22.05)
CIE-LCHlch(66.42, 54.83, 156.29°)
OKLaboklab(69.33% -0.1361 0.0556)
OKLCHoklch(69.33% 0.147 157.8)
XYZxyz(21.5881, 35.8735, 23.5522)
Luminance0.3588 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B778 #B73170
analogous
#31B735 #31B778 #31B3B7
triadic
#31B778 #7831B7 #B77831
tetradic
#31B778 #3531B7 #B73170 #B3B731
square
#31B778 #3531B7 #B73170 #B3B731
split-complementary
#31B778 #B731B3 #B73531
monochromatic
#175639 #248758 #31B778 #54D196 #84DEB4

Accessibility & contrast

On white

2.57
#31B778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#31B778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B778
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B778#FFFFFF#000000##000000
##31B7781.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A974
Deuteranopia (green-blind)
#A59D7C
Tritanopia (blue-blind)
#00B6A7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b778;
/* rgb */ color: rgb(49, 183, 120);
/* oklch */ color: oklch(69.3% 0.147 157.8);
Tailwind
colors: {
  custom: {
    50: '#7cce9f',
    500: '#31b778',
    950: '#000000',
  },
}
SCSS
$custom: #31b778;
$custom-light: #7cce9f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b778",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 120
  },
  "hsl": {
    "h": 151.791,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69325,
    "c": 0.14698,
    "h": 157.8
  },
  "luminance": 0.35876
}

Semantic roles & 50–950 ramp

primary
#31B778
secondary
#C87CA0
accent
#478FE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B778

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

Preview Lab → · Contrast checker → · Palette generator →

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