#31C07C#31C07C

#31C07C is a light, vivid teal. Relative luminance 0.398; OKLCH L 71.7% C 0.155 H 157.3°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#31C07C
RGBrgb(49, 192, 124)
HSLhsl(151, 59%, 47%)
HSVhsv(151, 74%, 75%)
CMYKcmyk(74.5%, 0%, 35.4%, 24.7%)
CIE-LABlab(69.33, -52.87, 23.85)
CIE-LCHlch(69.33, 58.00, 155.72°)
OKLaboklab(71.74% -0.1431 0.06)
OKLCHoklch(71.74% 0.155 157.3)
XYZxyz(23.7520, 39.8047, 25.4961)
Luminance0.3981 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C07C #C03175
analogous
#31C035 #31C07C #31BCC0
triadic
#31C07C #7C31C0 #C07C31
tetradic
#31C07C #3531C0 #C03175 #BCC031
square
#31C07C #3531C0 #C03175 #BCC031
split-complementary
#31C07C #C031BC #C03531
monochromatic
#185E3D #258F5D #31C07C #59D59A #8AE1B8

Accessibility & contrast

On white

2.34
#31C07C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#31C07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C07C
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C07C#FFFFFF#000000##000000
##31C07C1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB178
Deuteranopia (green-blind)
#ADA480
Tritanopia (blue-blind)
#00BFAE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #31c07c;
/* rgb */ color: rgb(49, 192, 124);
/* oklch */ color: oklch(71.7% 0.155 157.3);
Tailwind
colors: {
  custom: {
    50: '#7ed4a2',
    500: '#31c07c',
    950: '#000000',
  },
}
SCSS
$custom: #31c07c;
$custom-light: #7ed4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#31c07c",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 124
  },
  "hsl": {
    "h": 151.469,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71744,
    "c": 0.15513,
    "h": 157.3
  },
  "luminance": 0.39807
}

Semantic roles & 50–950 ramp

primary
#31C07C
secondary
#CB82A5
accent
#4590E3
background
#F8FDFA
surface
#EFFAF3
border
#CAD3CD
text
#0B140F
muted
#7C837F

Preview Lab

Preview with #31C07C

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

Preview Lab → · Contrast checker → · Palette generator →

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