#31C38C#31C38C

#31C38C is a light, vivid teal. Relative luminance 0.416; OKLCH L 72.9% C 0.145 H 162.6°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#31C38C
RGBrgb(49, 195, 140)
HSLhsl(157, 60%, 48%)
HSVhsv(157, 75%, 76%)
CMYKcmyk(74.9%, 0%, 28.2%, 23.5%)
CIE-LABlab(70.58, -50.64, 17.01)
CIE-LCHlch(70.58, 53.42, 161.43°)
OKLaboklab(72.87% -0.1385 0.0433)
OKLCHoklch(72.87% 0.145 162.6)
XYZxyz(25.5126, 41.5736, 31.4858)
Luminance0.4158 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C38C #C33168
analogous
#31C343 #31C38C #31B1C3
triadic
#31C38C #8C31C3 #C38C31
tetradic
#31C38C #4331C3 #C33168 #B1C331
square
#31C38C #4331C3 #C33168 #B1C331
split-complementary
#31C38C #C331B1 #C34331
monochromatic
#186146 #259269 #31C38C #5BD6A8 #8CE2C2

Accessibility & contrast

On white

2.25
#31C38C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#31C38C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C38C
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C38C#FFFFFF#000000##000000
##31C38C1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B489
Deuteranopia (green-blind)
#AEA790
Tritanopia (blue-blind)
#00C3B4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c38c;
/* rgb */ color: rgb(49, 195, 140);
/* oklch */ color: oklch(72.9% 0.145 162.6);
Tailwind
colors: {
  custom: {
    50: '#7fd6ad',
    500: '#31c38c',
    950: '#000000',
  },
}
SCSS
$custom: #31c38c;
$custom-light: #7fd6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#31c38c",
  "rgb": {
    "r": 49,
    "g": 195,
    "b": 140
  },
  "hsl": {
    "h": 157.397,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72871,
    "c": 0.1451,
    "h": 162.6
  },
  "luminance": 0.41577
}

Semantic roles & 50–950 ramp

primary
#31C38C
secondary
#CC839F
accent
#4580E3
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C1410
muted
#7D837F

Preview Lab

Preview with #31C38C

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

Preview Lab → · Contrast checker → · Palette generator →

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