#31B291#31B291

#31B291 is a light, vivid teal. Relative luminance 0.345; OKLCH L 68.6% C 0.120 H 171.5°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#31B291
RGBrgb(49, 178, 145)
HSLhsl(165, 57%, 45%)
HSVhsv(165, 72%, 70%)
CMYKcmyk(72.5%, 0%, 18.5%, 30.2%)
CIE-LABlab(65.39, -42.44, 6.97)
CIE-LCHlch(65.39, 43.01, 170.67°)
OKLaboklab(68.65% -0.1191 0.0177)
OKLCHoklch(68.65% 0.12 171.5)
XYZxyz(22.2952, 34.5355, 32.2736)
Luminance0.3454 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B291 #B23152
analogous
#31B251 #31B291 #3193B2
triadic
#31B291 #9131B2 #B29131
tetradic
#31B291 #5131B2 #B23152 #93B231
square
#31B291 #5131B2 #B23152 #93B231
split-complementary
#31B291 #B23193 #B25131
monochromatic
#175243 #24826A #31B291 #51CFAF #81DCC5

Accessibility & contrast

On white

2.66
#31B291 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#31B291 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B291
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B291#FFFFFF#000000##000000
##31B2911.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA68F
Deuteranopia (green-blind)
#9B9A93
Tritanopia (blue-blind)
#00B4A8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b291;
/* rgb */ color: rgb(49, 178, 145);
/* oklch */ color: oklch(68.6% 0.120 171.5);
Tailwind
colors: {
  custom: {
    50: '#7ccab1',
    500: '#31b291',
    950: '#000000',
  },
}
SCSS
$custom: #31b291;
$custom-light: #7ccab1;
$custom-dark: #000000;
JSON
{
  "hex": "#31b291",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 145
  },
  "hsl": {
    "h": 164.651,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68649,
    "c": 0.12039,
    "h": 171.5
  },
  "luminance": 0.34538
}

Semantic roles & 50–950 ramp

primary
#31B291
secondary
#C5798D
accent
#486FE0
background
#F8FCFA
surface
#EFF8F5
border
#CAD1CF
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B291

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

Preview Lab → · Contrast checker → · Palette generator →

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