#31A683#31A683

#31A683 is a light, moderate teal. Relative luminance 0.296; OKLCH L 65.2% C 0.116 H 168.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#31A683
RGBrgb(49, 166, 131)
HSLhsl(162, 54%, 42%)
HSVhsv(162, 70%, 65%)
CMYKcmyk(70.5%, 0%, 21.1%, 34.9%)
CIE-LABlab(61.27, -40.74, 8.88)
CIE-LCHlch(61.27, 41.69, 167.71°)
OKLaboklab(65.17% -0.1134 0.0227)
OKLCHoklch(65.17% 0.116 168.7)
XYZxyz(18.9974, 29.5619, 26.1731)
Luminance0.2956 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A683 #A63154
analogous
#31A648 #31A683 #318FA6
triadic
#31A683 #8331A6 #A68331
tetradic
#31A683 #4831A6 #A63154 #8FA631
square
#31A683 #4831A6 #A63154 #8FA631
split-complementary
#31A683 #A6318F #A64831
monochromatic
#154738 #23775E #31A683 #4ACAA4 #7AD8BC

Accessibility & contrast

On white

3.04
#31A683 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#31A683 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A683
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A683#FFFFFF#000000##000000
##31A6831.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29B81
Deuteranopia (green-blind)
#928F85
Tritanopia (blue-blind)
#00A79C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a683;
/* rgb */ color: rgb(49, 166, 131);
/* oklch */ color: oklch(65.2% 0.116 168.7);
Tailwind
colors: {
  custom: {
    50: '#79c1a7',
    500: '#31a683',
    950: '#000000',
  },
}
SCSS
$custom: #31a683;
$custom-light: #79c1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#31a683",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 131
  },
  "hsl": {
    "h": 162.051,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65173,
    "c": 0.11567,
    "h": 168.7
  },
  "luminance": 0.29564
}

Semantic roles & 50–950 ramp

primary
#31A683
secondary
#C0738A
accent
#4A76DE
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A683

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

Preview Lab → · Contrast checker → · Palette generator →

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