#31A277#31A277

#31A277 is a light, vivid teal. Relative luminance 0.278; OKLCH L 63.8% C 0.120 H 163.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#31A277
RGBrgb(49, 162, 119)
HSLhsl(157, 54%, 41%)
HSVhsv(157, 70%, 64%)
CMYKcmyk(69.8%, 0%, 26.5%, 36.5%)
CIE-LABlab(59.73, -41.89, 13.39)
CIE-LCHlch(59.73, 43.98, 162.27°)
OKLaboklab(63.82% -0.1151 0.0342)
OKLCHoklch(63.82% 0.12 163.5)
XYZxyz(17.5149, 27.8236, 21.8966)
Luminance0.2783 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A277 #A2315C
analogous
#31A23F #31A277 #3195A2
triadic
#31A277 #7731A2 #A27731
tetradic
#31A277 #3F31A2 #A2315C #95A231
square
#31A277 #3F31A2 #A2315C #95A231
split-complementary
#31A277 #A23195 #A23F31
monochromatic
#154432 #237354 #31A277 #48C897 #77D6B2

Accessibility & contrast

On white

3.20
#31A277 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#31A277 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A277
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A277#FFFFFF#000000##000000
##31A2771.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9675
Deuteranopia (green-blind)
#908C7A
Tritanopia (blue-blind)
#00A296
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a277;
/* rgb */ color: rgb(49, 162, 119);
/* oklch */ color: oklch(63.8% 0.120 163.5);
Tailwind
colors: {
  custom: {
    50: '#78be9e',
    500: '#31a277',
    950: '#000000',
  },
}
SCSS
$custom: #31a277;
$custom-light: #78be9e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a277",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 119
  },
  "hsl": {
    "h": 157.168,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63817,
    "c": 0.12003,
    "h": 163.5
  },
  "luminance": 0.27826
}

Semantic roles & 50–950 ramp

primary
#31A277
secondary
#BE718E
accent
#4B82DD
background
#F7FBF9
surface
#EEF7F2
border
#C9D0CC
text
#0A120E
muted
#7C817E

Preview Lab

Preview with #31A277

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

Preview Lab → · Contrast checker → · Palette generator →

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