#31B17B#31B17B

#31B17B is a light, vivid teal. Relative luminance 0.335; OKLCH L 67.8% C 0.136 H 160.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#31B17B
RGBrgb(49, 177, 123)
HSLhsl(155, 57%, 44%)
HSVhsv(155, 72%, 69%)
CMYKcmyk(72.3%, 0%, 30.5%, 30.6%)
CIE-LABlab(64.58, -47.19, 17.92)
CIE-LCHlch(64.58, 50.48, 159.21°)
OKLaboklab(67.83% -0.1286 0.0455)
OKLCHoklch(67.83% 0.136 160.5)
XYZxyz(20.5618, 33.5249, 24.1224)
Luminance0.3353 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B17B #B13167
analogous
#31B13B #31B17B #31A7B1
triadic
#31B17B #7B31B1 #B17B31
tetradic
#31B17B #3B31B1 #B13167 #A7B131
square
#31B17B #3B31B1 #B13167 #A7B131
split-complementary
#31B17B #B131A7 #B13B31
monochromatic
#165138 #24815A #31B17B #51CF99 #80DCB5

Accessibility & contrast

On white

2.73
#31B17B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#31B17B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B17B
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B17B#FFFFFF#000000##000000
##31B17B1.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA478
Deuteranopia (green-blind)
#9F987E
Tritanopia (blue-blind)
#00B0A3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b17b;
/* rgb */ color: rgb(49, 177, 123);
/* oklch */ color: oklch(67.8% 0.136 160.5);
Tailwind
colors: {
  custom: {
    50: '#7bc9a1',
    500: '#31b17b',
    950: '#000000',
  },
}
SCSS
$custom: #31b17b;
$custom-light: #7bc9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31b17b",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 123
  },
  "hsl": {
    "h": 154.688,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67831,
    "c": 0.13641,
    "h": 160.5
  },
  "luminance": 0.33527
}

Semantic roles & 50–950 ramp

primary
#31B17B
secondary
#C57999
accent
#4888E0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130F
muted
#7C827E

Preview Lab

Preview with #31B17B

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

Preview Lab → · Contrast checker → · Palette generator →

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