#31B378#31B378

#31B378 is a light, vivid teal. Relative luminance 0.342; OKLCH L 68.3% C 0.142 H 158.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#31B378
RGBrgb(49, 179, 120)
HSLhsl(153, 57%, 45%)
HSVhsv(153, 73%, 70%)
CMYKcmyk(72.6%, 0%, 33%, 29.8%)
CIE-LABlab(65.16, -48.63, 20.33)
CIE-LCHlch(65.16, 52.71, 157.31°)
OKLaboklab(68.28% -0.1321 0.0514)
OKLCHoklch(68.28% 0.142 158.7)
XYZxyz(20.7748, 34.2468, 23.2811)
Luminance0.3425 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B378 #B3316C
analogous
#31B337 #31B378 #31ADB3
triadic
#31B378 #7831B3 #B37831
tetradic
#31B378 #3731B3 #B3316C #ADB331
square
#31B378 #3731B3 #B3316C #ADB331
split-complementary
#31B378 #B331AD #B33731
monochromatic
#175338 #248358 #31B378 #52D096 #82DDB3

Accessibility & contrast

On white

2.68
#31B378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#31B378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B378
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B378#FFFFFF#000000##000000
##31B3781.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A574
Deuteranopia (green-blind)
#A1997C
Tritanopia (blue-blind)
#00B2A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b378;
/* rgb */ color: rgb(49, 179, 120);
/* oklch */ color: oklch(68.3% 0.142 158.7);
Tailwind
colors: {
  custom: {
    50: '#7bcb9f',
    500: '#31b378',
    950: '#000000',
  },
}
SCSS
$custom: #31b378;
$custom-light: #7bcb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b378",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 120
  },
  "hsl": {
    "h": 152.769,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68284,
    "c": 0.1417,
    "h": 158.7
  },
  "luminance": 0.34249
}

Semantic roles & 50–950 ramp

primary
#31B378
secondary
#C67A9C
accent
#488DE0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B378

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

Preview Lab → · Contrast checker → · Palette generator →

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