#31B377#31B377

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

Color values

HEX#31B377
RGBrgb(49, 179, 119)
HSLhsl(152, 57%, 45%)
HSVhsv(152, 73%, 70%)
CMYKcmyk(72.6%, 0%, 33.5%, 29.8%)
CIE-LABlab(65.14, -48.84, 20.85)
CIE-LCHlch(65.14, 53.11, 156.89°)
OKLaboklab(68.26% -0.1325 0.0526)
OKLCHoklch(68.26% 0.143 158.3)
XYZxyz(20.7144, 34.2227, 22.9631)
Luminance0.3422 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B377 #B3316D
analogous
#31B336 #31B377 #31AEB3
triadic
#31B377 #7731B3 #B37731
tetradic
#31B377 #3631B3 #B3316D #AEB331
square
#31B377 #3631B3 #B3316D #AEB331
split-complementary
#31B377 #B331AE #B33631
monochromatic
#175337 #248357 #31B377 #52D095 #82DDB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B377#FFFFFF#000000##000000
##31B3771.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)
#B1A573
Deuteranopia (green-blind)
#A1997B
Tritanopia (blue-blind)
#00B2A3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b377;
/* rgb */ color: rgb(49, 179, 119);
/* oklch */ color: oklch(68.3% 0.143 158.3);
Tailwind
colors: {
  custom: {
    50: '#7bcb9e',
    500: '#31b377',
    950: '#000000',
  },
}
SCSS
$custom: #31b377;
$custom-light: #7bcb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b377",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 119
  },
  "hsl": {
    "h": 152.308,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68262,
    "c": 0.1426,
    "h": 158.3
  },
  "luminance": 0.34225
}

Semantic roles & 50–950 ramp

primary
#31B377
secondary
#C67A9D
accent
#488EE0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B377

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

Preview Lab → · Contrast checker → · Palette generator →

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