#31B18B#31B18B

#31B18B is a light, vivid teal. Relative luminance 0.340; OKLCH L 68.2% C 0.123 H 168.5°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#31B18B
RGBrgb(49, 177, 139)
HSLhsl(162, 57%, 44%)
HSVhsv(162, 72%, 69%)
CMYKcmyk(72.3%, 0%, 21.5%, 30.6%)
CIE-LABlab(64.93, -43.49, 9.63)
CIE-LCHlch(64.93, 44.55, 167.51°)
OKLaboklab(68.23% -0.1209 0.0246)
OKLCHoklch(68.23% 0.123 168.5)
XYZxyz(21.6465, 33.9588, 29.8350)
Luminance0.3396 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B18B #B13157
analogous
#31B14B #31B18B #3197B1
triadic
#31B18B #8B31B1 #B18B31
tetradic
#31B18B #4B31B1 #B13157 #97B131
square
#31B18B #4B31B1 #B13157 #97B131
split-complementary
#31B18B #B13197 #B14B31
monochromatic
#165140 #248165 #31B18B #51CFA9 #80DCC1

Accessibility & contrast

On white

2.70
#31B18B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#31B18B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B18B
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B18B#FFFFFF#000000##000000
##31B18B1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA589
Deuteranopia (green-blind)
#9C998E
Tritanopia (blue-blind)
#00B2A6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b18b;
/* rgb */ color: rgb(49, 177, 139);
/* oklch */ color: oklch(68.2% 0.123 168.5);
Tailwind
colors: {
  custom: {
    50: '#7bc9ac',
    500: '#31b18b',
    950: '#000000',
  },
}
SCSS
$custom: #31b18b;
$custom-light: #7bc9ac;
$custom-dark: #000000;
JSON
{
  "hex": "#31b18b",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 139
  },
  "hsl": {
    "h": 162.188,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68229,
    "c": 0.12341,
    "h": 168.5
  },
  "luminance": 0.33961
}

Semantic roles & 50–950 ramp

primary
#31B18B
secondary
#C5798F
accent
#4875E0
background
#F8FCFA
surface
#EFF8F4
border
#CAD1CE
text
#0B1310
muted
#7C827F

Preview Lab

Preview with #31B18B

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

Preview Lab → · Contrast checker → · Palette generator →

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