#31B374#31B374

#31B374 is a light, vivid teal. Relative luminance 0.342; OKLCH L 68.2% C 0.145 H 157.2°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#31B374
RGBrgb(49, 179, 116)
HSLhsl(151, 57%, 45%)
HSVhsv(151, 73%, 70%)
CMYKcmyk(72.6%, 0%, 35.2%, 29.8%)
CIE-LABlab(65.08, -49.46, 22.39)
CIE-LCHlch(65.08, 54.29, 155.65°)
OKLaboklab(68.2% -0.134 0.0563)
OKLCHoklch(68.2% 0.145 157.2)
XYZxyz(20.5371, 34.1518, 22.0292)
Luminance0.3415 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B374 #B33170
analogous
#31B333 #31B374 #31B1B3
triadic
#31B374 #7431B3 #B37431
tetradic
#31B374 #3331B3 #B33170 #B1B331
square
#31B374 #3331B3 #B33170 #B1B331
split-complementary
#31B374 #B331B1 #B33331
monochromatic
#175336 #248355 #31B374 #52D093 #82DDB1

Accessibility & contrast

On white

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

On black

7.83
#31B374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B374
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B374#FFFFFF#000000##000000
##31B3741.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A570
Deuteranopia (green-blind)
#A29978
Tritanopia (blue-blind)
#00B2A3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b374;
/* rgb */ color: rgb(49, 179, 116);
/* oklch */ color: oklch(68.2% 0.145 157.2);
Tailwind
colors: {
  custom: {
    50: '#7bcb9c',
    500: '#31b374',
    950: '#000000',
  },
}
SCSS
$custom: #31b374;
$custom-light: #7bcb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b374",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 116
  },
  "hsl": {
    "h": 150.923,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68197,
    "c": 0.14532,
    "h": 157.2
  },
  "luminance": 0.34154
}

Semantic roles & 50–950 ramp

primary
#31B374
secondary
#C67A9F
accent
#4892E0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B374

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

Preview Lab → · Contrast checker → · Palette generator →

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