#31A56B#31A56B

#31A56B is a light, vivid teal. Relative luminance 0.286; OKLCH L 64.3% C 0.135 H 156.9°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#31A56B
RGBrgb(49, 165, 107)
HSLhsl(150, 54%, 42%)
HSVhsv(150, 70%, 65%)
CMYKcmyk(70.3%, 0%, 35.2%, 35.3%)
CIE-LABlab(60.45, -45.75, 21.00)
CIE-LCHlch(60.45, 50.34, 155.34°)
OKLaboklab(64.33% -0.124 0.0529)
OKLCHoklch(64.33% 0.135 156.9)
XYZxyz(17.3740, 28.6228, 18.5162)
Luminance0.2863 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A56B #A5316B
analogous
#31A531 #31A56B #31A5A5
triadic
#31A56B #6B31A5 #A56B31
tetradic
#31A56B #3131A5 #A5316B #A5A531
square
#31A56B #3131A5 #A5316B #A5A531
split-complementary
#31A56B #A531A5 #A53131
monochromatic
#15472E #23764C #31A56B #4AC98A #79D7A8

Accessibility & contrast

On white

3.12
#31A56B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#31A56B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A56B
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A56B#FFFFFF#000000##000000
##31A56B1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49867
Deuteranopia (green-blind)
#958E6F
Tritanopia (blue-blind)
#00A496
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a56b;
/* rgb */ color: rgb(49, 165, 107);
/* oklch */ color: oklch(64.3% 0.135 156.9);
Tailwind
colors: {
  custom: {
    50: '#78c195',
    500: '#31a56b',
    950: '#000000',
  },
}
SCSS
$custom: #31a56b;
$custom-light: #78c195;
$custom-dark: #000000;
JSON
{
  "hex": "#31a56b",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 107
  },
  "hsl": {
    "h": 150,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64327,
    "c": 0.13478,
    "h": 156.9
  },
  "luminance": 0.28625
}

Semantic roles & 50–950 ramp

primary
#31A56B
secondary
#C07299
accent
#4A94DE
background
#F7FBF9
surface
#EEF7F2
border
#C9D0CC
text
#0A120D
muted
#7C817E

Preview Lab

Preview with #31A56B

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

Preview Lab → · Contrast checker → · Palette generator →

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