#31B783#31B783

#31B783 is a light, vivid teal. Relative luminance 0.362; OKLCH L 69.6% C 0.137 H 162.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#31B783
RGBrgb(49, 183, 131)
HSLhsl(157, 58%, 45%)
HSVhsv(157, 73%, 72%)
CMYKcmyk(73.2%, 0%, 28.4%, 28.2%)
CIE-LABlab(66.64, -47.84, 16.41)
CIE-LCHlch(66.64, 50.58, 161.07°)
OKLaboklab(69.57% -0.1308 0.0418)
OKLCHoklch(69.57% 0.137 162.3)
XYZxyz(22.2945, 36.1560, 27.2722)
Luminance0.3616 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B783 #B73165
analogous
#31B740 #31B783 #31A8B7
triadic
#31B783 #8331B7 #B78331
tetradic
#31B783 #4031B7 #B73165 #A8B731
square
#31B783 #4031B7 #B73165 #A8B731
split-complementary
#31B783 #B731A8 #B74031
monochromatic
#17563E #248760 #31B783 #54D1A1 #84DEBB

Accessibility & contrast

On white

2.55
#31B783 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#31B783 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B783
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B783#FFFFFF#000000##000000
##31B7831.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A980
Deuteranopia (green-blind)
#A39D86
Tritanopia (blue-blind)
#00B7A9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b783;
/* rgb */ color: rgb(49, 183, 131);
/* oklch */ color: oklch(69.6% 0.137 162.3);
Tailwind
colors: {
  custom: {
    50: '#7ccda7',
    500: '#31b783',
    950: '#000000',
  },
}
SCSS
$custom: #31b783;
$custom-light: #7ccda7;
$custom-dark: #000000;
JSON
{
  "hex": "#31b783",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 131
  },
  "hsl": {
    "h": 156.716,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69574,
    "c": 0.13734,
    "h": 162.3
  },
  "luminance": 0.36159
}

Semantic roles & 50–950 ramp

primary
#31B783
secondary
#C87C99
accent
#4783E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B140F
muted
#7C827F

Preview Lab

Preview with #31B783

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

Preview Lab → · Contrast checker → · Palette generator →

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