#31A77C#31A77C

#31A77C is a light, vivid teal. Relative luminance 0.297; OKLCH L 65.3% C 0.122 H 164.3°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#31A77C
RGBrgb(49, 167, 124)
HSLhsl(158, 55%, 42%)
HSVhsv(158, 71%, 65%)
CMYKcmyk(70.7%, 0%, 25.7%, 34.5%)
CIE-LABlab(61.43, -42.84, 12.99)
CIE-LCHlch(61.43, 44.77, 163.13°)
OKLaboklab(65.25% -0.1179 0.0332)
OKLCHoklch(65.25% 0.122 164.3)
XYZxyz(18.7214, 29.7435, 23.8193)
Luminance0.2975 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A77C #A7315C
analogous
#31A741 #31A77C #3197A7
triadic
#31A77C #7C31A7 #A77C31
tetradic
#31A77C #4131A7 #A7315C #97A731
square
#31A77C #4131A7 #A7315C #97A731
split-complementary
#31A77C #A73197 #A74131
monochromatic
#154836 #237859 #31A77C #4BCA9C #7AD8B6

Accessibility & contrast

On white

3.02
#31A77C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#31A77C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A77C
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A77C#FFFFFF#000000##000000
##31A77C1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49B7A
Deuteranopia (green-blind)
#94907F
Tritanopia (blue-blind)
#00A79B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a77c;
/* rgb */ color: rgb(49, 167, 124);
/* oklch */ color: oklch(65.3% 0.122 164.3);
Tailwind
colors: {
  custom: {
    50: '#79c2a2',
    500: '#31a77c',
    950: '#000000',
  },
}
SCSS
$custom: #31a77c;
$custom-light: #79c2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#31a77c",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 124
  },
  "hsl": {
    "h": 158.136,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6525,
    "c": 0.12244,
    "h": 164.3
  },
  "luminance": 0.29746
}

Semantic roles & 50–950 ramp

primary
#31A77C
secondary
#C1738F
accent
#4A80DE
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A120F
muted
#7C817E

Preview Lab

Preview with #31A77C

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

Preview Lab → · Contrast checker → · Palette generator →

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