#31B273#31B273

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

Color values

HEX#31B273
RGBrgb(49, 178, 115)
HSLhsl(151, 57%, 45%)
HSVhsv(151, 72%, 70%)
CMYKcmyk(72.5%, 0%, 35.4%, 30.2%)
CIE-LABlab(64.75, -49.27, 22.47)
CIE-LCHlch(64.75, 54.16, 155.48°)
OKLaboklab(67.92% -0.1334 0.0565)
OKLCHoklch(67.92% 0.145 157)
XYZxyz(20.2796, 33.7292, 21.6579)
Luminance0.3373 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B273 #B23170
analogous
#31B233 #31B273 #31B0B2
triadic
#31B273 #7331B2 #B27331
tetradic
#31B273 #3331B2 #B23170 #B0B231
square
#31B273 #3331B2 #B23170 #B0B231
split-complementary
#31B273 #B231B0 #B23331
monochromatic
#175235 #248254 #31B273 #51CF92 #81DCB0

Accessibility & contrast

On white

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

On black

7.75
#31B273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B273
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B273#FFFFFF#000000##000000
##31B2731.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A46F
Deuteranopia (green-blind)
#A19877
Tritanopia (blue-blind)
#00B1A2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b273;
/* rgb */ color: rgb(49, 178, 115);
/* oklch */ color: oklch(67.9% 0.145 157.0);
Tailwind
colors: {
  custom: {
    50: '#7bca9b',
    500: '#31b273',
    950: '#000000',
  },
}
SCSS
$custom: #31b273;
$custom-light: #7bca9b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b273",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 115
  },
  "hsl": {
    "h": 150.698,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67915,
    "c": 0.14491,
    "h": 157
  },
  "luminance": 0.33732
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B273

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

Preview Lab → · Contrast checker → · Palette generator →

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