#31A271#31A271

#31A271 is a light, vivid teal. Relative luminance 0.277; OKLCH L 63.7% C 0.125 H 160.4°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#31A271
RGBrgb(49, 162, 113)
HSLhsl(154, 54%, 41%)
HSVhsv(154, 70%, 64%)
CMYKcmyk(69.8%, 0%, 30.2%, 36.5%)
CIE-LABlab(59.60, -43.24, 16.55)
CIE-LCHlch(59.60, 46.30, 159.06°)
OKLaboklab(63.67% -0.118 0.042)
OKLCHoklch(63.67% 0.125 160.4)
XYZxyz(17.1659, 27.6840, 20.0584)
Luminance0.2769 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A271 #A23162
analogous
#31A238 #31A271 #319BA2
triadic
#31A271 #7131A2 #A27131
tetradic
#31A271 #3831A2 #A23162 #9BA231
square
#31A271 #3831A2 #A23162 #9BA231
split-complementary
#31A271 #A2319B #A23831
monochromatic
#15442F #237350 #31A271 #48C891 #77D6AD

Accessibility & contrast

On white

3.21
#31A271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#31A271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A271
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A271#FFFFFF#000000##000000
##31A2711.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0966E
Deuteranopia (green-blind)
#918B74
Tritanopia (blue-blind)
#00A195
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a271;
/* rgb */ color: rgb(49, 162, 113);
/* oklch */ color: oklch(63.7% 0.125 160.4);
Tailwind
colors: {
  custom: {
    50: '#78be9a',
    500: '#31a271',
    950: '#000000',
  },
}
SCSS
$custom: #31a271;
$custom-light: #78be9a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a271",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 113
  },
  "hsl": {
    "h": 153.982,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63671,
    "c": 0.12524,
    "h": 160.4
  },
  "luminance": 0.27686
}

Semantic roles & 50–950 ramp

primary
#31A271
secondary
#BE7192
accent
#4B8ADD
background
#F7FBF9
surface
#EEF7F2
border
#C9D0CC
text
#0A120E
muted
#7C817E

Preview Lab

Preview with #31A271

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

Preview Lab → · Contrast checker → · Palette generator →

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