#31B478#31B478

#31B478 is a light, vivid teal. Relative luminance 0.347; OKLCH L 68.5% C 0.143 H 158.5°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#31B478
RGBrgb(49, 180, 120)
HSLhsl(153, 57%, 45%)
HSVhsv(153, 73%, 71%)
CMYKcmyk(72.8%, 0%, 33.3%, 29.4%)
CIE-LABlab(65.47, -49.03, 20.76)
CIE-LCHlch(65.47, 53.24, 157.05°)
OKLaboklab(68.54% -0.1331 0.0524)
OKLCHoklch(68.54% 0.143 158.5)
XYZxyz(20.9760, 34.6491, 23.3481)
Luminance0.3465 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B478 #B4316D
analogous
#31B437 #31B478 #31AFB4
triadic
#31B478 #7831B4 #B47831
tetradic
#31B478 #3731B4 #B4316D #AFB431
square
#31B478 #3731B4 #B4316D #AFB431
split-complementary
#31B478 #B431AF #B43731
monochromatic
#175438 #248458 #31B478 #52D096 #82DDB4

Accessibility & contrast

On white

2.65
#31B478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#31B478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B478
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B478#FFFFFF#000000##000000
##31B4781.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A674
Deuteranopia (green-blind)
#A29A7C
Tritanopia (blue-blind)
#00B3A4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b478;
/* rgb */ color: rgb(49, 180, 120);
/* oklch */ color: oklch(68.5% 0.143 158.5);
Tailwind
colors: {
  custom: {
    50: '#7bcb9f',
    500: '#31b478',
    950: '#000000',
  },
}
SCSS
$custom: #31b478;
$custom-light: #7bcb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b478",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 120
  },
  "hsl": {
    "h": 152.519,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68544,
    "c": 0.14303,
    "h": 158.5
  },
  "luminance": 0.34652
}

Semantic roles & 50–950 ramp

primary
#31B478
secondary
#C67B9D
accent
#478DE0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B478

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

Preview Lab → · Contrast checker → · Palette generator →

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