#31B27A#31B27A

#31B27A is a light, vivid teal. Relative luminance 0.339; OKLCH L 68.1% C 0.139 H 159.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#31B27A
RGBrgb(49, 178, 122)
HSLhsl(154, 57%, 45%)
HSVhsv(154, 72%, 70%)
CMYKcmyk(72.5%, 0%, 31.5%, 30.2%)
CIE-LABlab(64.88, -47.81, 18.87)
CIE-LCHlch(64.88, 51.40, 158.46°)
OKLaboklab(68.07% -0.1301 0.0478)
OKLCHoklch(68.07% 0.139 159.8)
XYZxyz(20.6978, 33.8965, 23.8604)
Luminance0.3390 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B27A #B23169
analogous
#31B239 #31B27A #31AAB2
triadic
#31B27A #7A31B2 #B27A31
tetradic
#31B27A #3931B2 #B23169 #AAB231
square
#31B27A #3931B2 #B23169 #AAB231
split-complementary
#31B27A #B231AA #B23931
monochromatic
#175238 #248259 #31B27A #51CF98 #81DCB5

Accessibility & contrast

On white

2.70
#31B27A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#31B27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B27A
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B27A#FFFFFF#000000##000000
##31B27A1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A477
Deuteranopia (green-blind)
#A0997E
Tritanopia (blue-blind)
#00B1A3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b27a;
/* rgb */ color: rgb(49, 178, 122);
/* oklch */ color: oklch(68.1% 0.139 159.8);
Tailwind
colors: {
  custom: {
    50: '#7bcaa0',
    500: '#31b27a',
    950: '#000000',
  },
}
SCSS
$custom: #31b27a;
$custom-light: #7bcaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#31b27a",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 122
  },
  "hsl": {
    "h": 153.953,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68068,
    "c": 0.13861,
    "h": 159.8
  },
  "luminance": 0.33899
}

Semantic roles & 50–950 ramp

primary
#31B27A
secondary
#C5799A
accent
#488AE0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B27A

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

Preview Lab → · Contrast checker → · Palette generator →

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