#31A87B#31A87B

#31A87B is a light, vivid teal. Relative luminance 0.301; OKLCH L 65.5% C 0.125 H 163.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#31A87B
RGBrgb(49, 168, 123)
HSLhsl(157, 55%, 43%)
HSVhsv(157, 71%, 66%)
CMYKcmyk(70.8%, 0%, 26.8%, 34.1%)
CIE-LABlab(61.73, -43.49, 13.96)
CIE-LCHlch(61.73, 45.68, 162.20°)
OKLaboklab(65.49% -0.1194 0.0356)
OKLCHoklch(65.49% 0.125 163.4)
XYZxyz(18.8424, 30.0861, 23.5492)
Luminance0.3009 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A87B #A8315E
analogous
#31A83F #31A87B #319AA8
triadic
#31A87B #7B31A8 #A87B31
tetradic
#31A87B #3F31A8 #A8315E #9AA831
square
#31A87B #3F31A8 #A8315E #9AA831
split-complementary
#31A87B #A8319A #A83F31
monochromatic
#154936 #237958 #31A87B #4CCB9B #7BD8B5

Accessibility & contrast

On white

2.99
#31A87B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#31A87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A87B
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A87B#FFFFFF#000000##000000
##31A87B1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59C78
Deuteranopia (green-blind)
#96917E
Tritanopia (blue-blind)
#00A89C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31a87b;
/* rgb */ color: rgb(49, 168, 123);
/* oklch */ color: oklch(65.5% 0.125 163.4);
Tailwind
colors: {
  custom: {
    50: '#79c3a1',
    500: '#31a87b',
    950: '#000000',
  },
}
SCSS
$custom: #31a87b;
$custom-light: #79c3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31a87b",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 123
  },
  "hsl": {
    "h": 157.311,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65486,
    "c": 0.12458,
    "h": 163.4
  },
  "luminance": 0.30088
}

Semantic roles & 50–950 ramp

primary
#31A87B
secondary
#C17491
accent
#4A82DE
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A120F
muted
#7C817E

Preview Lab

Preview with #31A87B

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

Preview Lab → · Contrast checker → · Palette generator →

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