#31B277#31B277

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

Color values

HEX#31B277
RGBrgb(49, 178, 119)
HSLhsl(153, 57%, 45%)
HSVhsv(153, 72%, 70%)
CMYKcmyk(72.5%, 0%, 33.1%, 30.2%)
CIE-LABlab(64.82, -48.45, 20.42)
CIE-LCHlch(64.82, 52.57, 157.15°)
OKLaboklab(68% -0.1315 0.0516)
OKLCHoklch(68% 0.141 158.6)
XYZxyz(20.5147, 33.8233, 22.8966)
Luminance0.3383 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B277 #B2316C
analogous
#31B237 #31B277 #31ADB2
triadic
#31B277 #7731B2 #B27731
tetradic
#31B277 #3731B2 #B2316C #ADB231
square
#31B277 #3731B2 #B2316C #ADB231
split-complementary
#31B277 #B231AD #B23731
monochromatic
#175237 #248257 #31B277 #51CF95 #81DCB3

Accessibility & contrast

On white

2.70
#31B277 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#31B277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B277
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B277#FFFFFF#000000##000000
##31B2771.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A473
Deuteranopia (green-blind)
#A0997B
Tritanopia (blue-blind)
#00B1A3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b277;
/* rgb */ color: rgb(49, 178, 119);
/* oklch */ color: oklch(68.0% 0.141 158.6);
Tailwind
colors: {
  custom: {
    50: '#7bca9e',
    500: '#31b277',
    950: '#000000',
  },
}
SCSS
$custom: #31b277;
$custom-light: #7bca9e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b277",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 119
  },
  "hsl": {
    "h": 152.558,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68001,
    "c": 0.14128,
    "h": 158.6
  },
  "luminance": 0.33826
}

Semantic roles & 50–950 ramp

primary
#31B277
secondary
#C5799C
accent
#488DE0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B277

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

Preview Lab → · Contrast checker → · Palette generator →

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