#31A77B#31A77B

#31A77B is a light, vivid teal. Relative luminance 0.297; OKLCH L 65.2% C 0.123 H 163.7°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#31A77B
RGBrgb(49, 167, 123)
HSLhsl(158, 55%, 42%)
HSVhsv(158, 71%, 65%)
CMYKcmyk(70.7%, 0%, 26.3%, 34.5%)
CIE-LABlab(61.41, -43.07, 13.52)
CIE-LCHlch(61.41, 45.15, 162.58°)
OKLaboklab(65.22% -0.1183 0.0345)
OKLCHoklch(65.22% 0.123 163.7)
XYZxyz(18.6585, 29.7183, 23.4879)
Luminance0.2972 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A77B #A7315D
analogous
#31A740 #31A77B #3198A7
triadic
#31A77B #7B31A7 #A77B31
tetradic
#31A77B #4031A7 #A7315D #98A731
square
#31A77B #4031A7 #A7315D #98A731
split-complementary
#31A77B #A73198 #A74031
monochromatic
#154835 #237858 #31A77B #4BCA9B #7AD8B5

Accessibility & contrast

On white

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

On black

6.94
#31A77B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A77B
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A77B#FFFFFF#000000##000000
##31A77B1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49B79
Deuteranopia (green-blind)
#95907E
Tritanopia (blue-blind)
#00A79B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a77b;
/* rgb */ color: rgb(49, 167, 123);
/* oklch */ color: oklch(65.2% 0.123 163.7);
Tailwind
colors: {
  custom: {
    50: '#79c2a1',
    500: '#31a77b',
    950: '#000000',
  },
}
SCSS
$custom: #31a77b;
$custom-light: #79c2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31a77b",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 123
  },
  "hsl": {
    "h": 157.627,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65225,
    "c": 0.12327,
    "h": 163.7
  },
  "luminance": 0.2972
}

Semantic roles & 50–950 ramp

primary
#31A77B
secondary
#C17390
accent
#4A81DE
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A120F
muted
#7C817E

Preview Lab

Preview with #31A77B

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

Preview Lab → · Contrast checker → · Palette generator →

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