#31A67F#31A67F

#31A67F is a light, moderate teal. Relative luminance 0.295; OKLCH L 65.1% C 0.119 H 166.3°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#31A67F
RGBrgb(49, 166, 127)
HSLhsl(160, 54%, 42%)
HSVhsv(160, 70%, 65%)
CMYKcmyk(70.5%, 0%, 23.5%, 34.9%)
CIE-LABlab(61.18, -41.71, 10.98)
CIE-LCHlch(61.18, 43.13, 165.26°)
OKLaboklab(65.07% -0.1154 0.0281)
OKLCHoklch(65.07% 0.119 166.3)
XYZxyz(18.7315, 29.4556, 24.7729)
Luminance0.2946 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A67F #A63158
analogous
#31A644 #31A67F #3193A6
triadic
#31A67F #7F31A6 #A67F31
tetradic
#31A67F #4431A6 #A63158 #93A631
square
#31A67F #4431A6 #A63158 #93A631
split-complementary
#31A67F #A63193 #A64431
monochromatic
#154737 #23775B #31A67F #4ACA9F #7AD8B8

Accessibility & contrast

On white

3.05
#31A67F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#31A67F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A67F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A67F#FFFFFF#000000##000000
##31A67F1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29A7D
Deuteranopia (green-blind)
#938F82
Tritanopia (blue-blind)
#00A69B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a67f;
/* rgb */ color: rgb(49, 166, 127);
/* oklch */ color: oklch(65.1% 0.119 166.3);
Tailwind
colors: {
  custom: {
    50: '#79c1a4',
    500: '#31a67f',
    950: '#000000',
  },
}
SCSS
$custom: #31a67f;
$custom-light: #79c1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31a67f",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 127
  },
  "hsl": {
    "h": 160,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65066,
    "c": 0.11872,
    "h": 166.3
  },
  "luminance": 0.29458
}

Semantic roles & 50–950 ramp

primary
#31A67F
secondary
#C0738C
accent
#4A7BDE
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A67F

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

Preview Lab → · Contrast checker → · Palette generator →

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