#31B272#31B272

#31B272 is a light, vivid teal. Relative luminance 0.337; OKLCH L 67.9% C 0.146 H 156.7°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#31B272
RGBrgb(49, 178, 114)
HSLhsl(150, 57%, 45%)
HSVhsv(150, 72%, 70%)
CMYKcmyk(72.5%, 0%, 36%, 30.2%)
CIE-LABlab(64.73, -49.48, 22.98)
CIE-LCHlch(64.73, 54.55, 155.08°)
OKLaboklab(67.89% -0.1339 0.0577)
OKLCHoklch(67.89% 0.146 156.7)
XYZxyz(20.2223, 33.7063, 21.3565)
Luminance0.3371 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B272 #B23171
analogous
#31B232 #31B272 #31B1B2
triadic
#31B272 #7231B2 #B27231
tetradic
#31B272 #3231B2 #B23171 #B1B231
square
#31B272 #3231B2 #B23171 #B1B231
split-complementary
#31B272 #B231B1 #B23231
monochromatic
#175235 #248253 #31B272 #51CF91 #81DCAF

Accessibility & contrast

On white

2.71
#31B272 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#31B272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B272
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B272#FFFFFF#000000##000000
##31B2721.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A46E
Deuteranopia (green-blind)
#A19876
Tritanopia (blue-blind)
#00B0A2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b272;
/* rgb */ color: rgb(49, 178, 114);
/* oklch */ color: oklch(67.9% 0.146 156.7);
Tailwind
colors: {
  custom: {
    50: '#7bca9b',
    500: '#31b272',
    950: '#000000',
  },
}
SCSS
$custom: #31b272;
$custom-light: #7bca9b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b272",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 114
  },
  "hsl": {
    "h": 150.233,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67894,
    "c": 0.14582,
    "h": 156.7
  },
  "luminance": 0.33709
}

Semantic roles & 50–950 ramp

primary
#31B272
secondary
#C5799F
accent
#4893E0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B272

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

Preview Lab → · Contrast checker → · Palette generator →

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