#31956F#31956F

#31956F is a mid, moderate teal. Relative luminance 0.233; OKLCH L 60.2% C 0.109 H 164.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#31956F
RGBrgb(49, 149, 111)
HSLhsl(157, 51%, 39%)
HSVhsv(157, 67%, 58%)
CMYKcmyk(67.1%, 0%, 25.5%, 41.6%)
CIE-LABlab(55.37, -38.16, 11.79)
CIE-LCHlch(55.37, 39.94, 162.82°)
OKLaboklab(60.19% -0.1051 0.0301)
OKLCHoklch(60.19% 0.109 164)
XYZxyz(14.8818, 23.2939, 18.7477)
Luminance0.2330 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31956F #953157
analogous
#31953D #31956F #318995
triadic
#31956F #6F3195 #956F31
tetradic
#31956F #3D3195 #953157 #899531
square
#31956F #3D3195 #953157 #899531
split-complementary
#31956F #953189 #953D31
monochromatic
#13392A #22674D #31956F #42C191 #70D0AC

Accessibility & contrast

On white

3.71
#31956F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#31956F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31956F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31956F#FFFFFF#000000##000000
##31956F1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928A6D
Deuteranopia (green-blind)
#858171
Tritanopia (blue-blind)
#00958B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31956f;
/* rgb */ color: rgb(49, 149, 111);
/* oklch */ color: oklch(60.2% 0.109 164.0);
Tailwind
colors: {
  custom: {
    50: '#75b598',
    500: '#31956f',
    950: '#000000',
  },
}
SCSS
$custom: #31956f;
$custom-light: #75b598;
$custom-dark: #000000;
JSON
{
  "hex": "#31956f",
  "rgb": {
    "r": 49,
    "g": 149,
    "b": 111
  },
  "hsl": {
    "h": 157.2,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60189,
    "c": 0.10932,
    "h": 164
  },
  "luminance": 0.23296
}

Semantic roles & 50–950 ramp

primary
#31956F
secondary
#B86A88
accent
#4E83DA
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110D
muted
#7B807E

Preview Lab

Preview with #31956F

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

Preview Lab → · Contrast checker → · Palette generator →

#31956F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva