#31B276#31B276

#31B276 is a light, vivid teal. Relative luminance 0.338; OKLCH L 68.0% C 0.142 H 158.2°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#31B276
RGBrgb(49, 178, 118)
HSLhsl(152, 57%, 45%)
HSVhsv(152, 72%, 70%)
CMYKcmyk(72.5%, 0%, 33.7%, 30.2%)
CIE-LABlab(64.80, -48.66, 20.93)
CIE-LCHlch(64.80, 52.97, 156.72°)
OKLaboklab(67.98% -0.132 0.0528)
OKLCHoklch(67.98% 0.142 158.2)
XYZxyz(20.4550, 33.7994, 22.5819)
Luminance0.3380 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B276 #B2316D
analogous
#31B236 #31B276 #31AEB2
triadic
#31B276 #7631B2 #B27631
tetradic
#31B276 #3631B2 #B2316D #AEB231
square
#31B276 #3631B2 #B2316D #AEB231
split-complementary
#31B276 #B231AE #B23631
monochromatic
#175236 #248256 #31B276 #51CF94 #81DCB2

Accessibility & contrast

On white

2.71
#31B276 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#31B276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B276
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B276#FFFFFF#000000##000000
##31B2761.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A472
Deuteranopia (green-blind)
#A0997A
Tritanopia (blue-blind)
#00B1A2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b276;
/* rgb */ color: rgb(49, 178, 118);
/* oklch */ color: oklch(68.0% 0.142 158.2);
Tailwind
colors: {
  custom: {
    50: '#7bca9e',
    500: '#31b276',
    950: '#000000',
  },
}
SCSS
$custom: #31b276;
$custom-light: #7bca9e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b276",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 118
  },
  "hsl": {
    "h": 152.093,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67979,
    "c": 0.14218,
    "h": 158.2
  },
  "luminance": 0.33802
}

Semantic roles & 50–950 ramp

primary
#31B276
secondary
#C5799D
accent
#488FE0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B276

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

Preview Lab → · Contrast checker → · Palette generator →

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