#31B274#31B274

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

Color values

HEX#31B274
RGBrgb(49, 178, 116)
HSLhsl(151, 57%, 45%)
HSVhsv(151, 72%, 70%)
CMYKcmyk(72.5%, 0%, 34.8%, 30.2%)
CIE-LABlab(64.77, -49.07, 21.96)
CIE-LCHlch(64.77, 53.76, 155.89°)
OKLaboklab(67.94% -0.133 0.0553)
OKLCHoklch(67.94% 0.144 157.4)
XYZxyz(20.3374, 33.7524, 21.9626)
Luminance0.3376 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B274 #B2316F
analogous
#31B234 #31B274 #31B0B2
triadic
#31B274 #7431B2 #B27431
tetradic
#31B274 #3431B2 #B2316F #B0B231
square
#31B274 #3431B2 #B2316F #B0B231
split-complementary
#31B274 #B231B0 #B23431
monochromatic
#175235 #248255 #31B274 #51CF93 #81DCB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B274#FFFFFF#000000##000000
##31B2741.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)
#B1A470
Deuteranopia (green-blind)
#A19978
Tritanopia (blue-blind)
#00B1A2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b274;
/* rgb */ color: rgb(49, 178, 116);
/* oklch */ color: oklch(67.9% 0.144 157.4);
Tailwind
colors: {
  custom: {
    50: '#7bca9c',
    500: '#31b274',
    950: '#000000',
  },
}
SCSS
$custom: #31b274;
$custom-light: #7bca9c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b274",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 116
  },
  "hsl": {
    "h": 151.163,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67936,
    "c": 0.14399,
    "h": 157.4
  },
  "luminance": 0.33755
}

Semantic roles & 50–950 ramp

primary
#31B274
secondary
#C5799E
accent
#4891E0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B274

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

Preview Lab → · Contrast checker → · Palette generator →

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