#31B27B#31B27B

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

Color values

HEX#31B27B
RGBrgb(49, 178, 123)
HSLhsl(154, 57%, 45%)
HSVhsv(154, 72%, 70%)
CMYKcmyk(72.5%, 0%, 30.9%, 30.2%)
CIE-LABlab(64.90, -47.59, 18.35)
CIE-LCHlch(64.90, 51.01, 158.91°)
OKLaboklab(68.09% -0.1296 0.0465)
OKLCHoklch(68.09% 0.138 160.2)
XYZxyz(20.7600, 33.9214, 24.1884)
Luminance0.3392 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B27B #B23168
analogous
#31B23B #31B27B #31A8B2
triadic
#31B27B #7B31B2 #B27B31
tetradic
#31B27B #3B31B2 #B23168 #A8B231
square
#31B27B #3B31B2 #B23168 #A8B231
split-complementary
#31B27B #B231A8 #B23B31
monochromatic
#175239 #24825A #31B27B #51CF99 #81DCB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B27B#FFFFFF#000000##000000
##31B27B1.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)
#B0A478
Deuteranopia (green-blind)
#A0997F
Tritanopia (blue-blind)
#00B1A3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b27b;
/* rgb */ color: rgb(49, 178, 123);
/* oklch */ color: oklch(68.1% 0.138 160.2);
Tailwind
colors: {
  custom: {
    50: '#7bcaa1',
    500: '#31b27b',
    950: '#000000',
  },
}
SCSS
$custom: #31b27b;
$custom-light: #7bcaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#31b27b",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 123
  },
  "hsl": {
    "h": 154.419,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68091,
    "c": 0.13772,
    "h": 160.2
  },
  "luminance": 0.33924
}

Semantic roles & 50–950 ramp

primary
#31B27B
secondary
#C5799A
accent
#4889E0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130F
muted
#7C827E

Preview Lab

Preview with #31B27B

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

Preview Lab → · Contrast checker → · Palette generator →

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