#31A378#31A378

#31A378 is a light, vivid teal. Relative luminance 0.282; OKLCH L 64.1% C 0.121 H 163.6°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#31A378
RGBrgb(49, 163, 120)
HSLhsl(157, 54%, 42%)
HSVhsv(157, 70%, 64%)
CMYKcmyk(69.9%, 0%, 26.4%, 36.1%)
CIE-LABlab(60.07, -42.08, 13.31)
CIE-LCHlch(60.07, 44.14, 162.45°)
OKLaboklab(64.1% -0.1156 0.034)
OKLCHoklch(64.1% 0.121 163.6)
XYZxyz(17.7521, 28.2014, 22.2735)
Luminance0.2820 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A378 #A3315C
analogous
#31A33F #31A378 #3195A3
triadic
#31A378 #7831A3 #A37831
tetradic
#31A378 #3F31A3 #A3315C #95A331
square
#31A378 #3F31A3 #A3315C #95A331
split-complementary
#31A378 #A33195 #A33F31
monochromatic
#154533 #237455 #31A378 #49C898 #78D6B3

Accessibility & contrast

On white

3.16
#31A378 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#31A378 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A378
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A378#FFFFFF#000000##000000
##31A3781.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09776
Deuteranopia (green-blind)
#918C7B
Tritanopia (blue-blind)
#00A397
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a378;
/* rgb */ color: rgb(49, 163, 120);
/* oklch */ color: oklch(64.1% 0.121 163.6);
Tailwind
colors: {
  custom: {
    50: '#78bf9f',
    500: '#31a378',
    950: '#000000',
  },
}
SCSS
$custom: #31a378;
$custom-light: #78bf9f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a378",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 120
  },
  "hsl": {
    "h": 157.368,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64104,
    "c": 0.12051,
    "h": 163.6
  },
  "luminance": 0.28203
}

Semantic roles & 50–950 ramp

primary
#31A378
secondary
#BF718E
accent
#4B82DD
background
#F7FBF9
surface
#EEF7F2
border
#C9D0CC
text
#0A120E
muted
#7C817E

Preview Lab

Preview with #31A378

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

Preview Lab → · Contrast checker → · Palette generator →

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