#31845F#31845F

#31845F is a mid, moderate teal. Relative luminance 0.180; OKLCH L 55.2% C 0.100 H 161.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#31845F
RGBrgb(49, 132, 95)
HSLhsl(153, 46%, 35%)
HSVhsv(153, 63%, 52%)
CMYKcmyk(62.9%, 0%, 28%, 48.2%)
CIE-LABlab(49.47, -34.32, 12.70)
CIE-LCHlch(49.47, 36.60, 159.69°)
OKLaboklab(55.24% -0.0941 0.0324)
OKLCHoklch(55.24% 0.1 161)
XYZxyz(11.5824, 17.9806, 13.6845)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31845F #843156
analogous
#318435 #31845F #317F84
triadic
#31845F #5F3184 #845F31
tetradic
#31845F #353184 #843156 #7F8431
square
#31845F #353184 #843156 #7F8431
split-complementary
#31845F #84317F #843531
monochromatic
#102B1F #20573F #31845F #42B17F #68C79D

Accessibility & contrast

On white

4.57
#31845F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#31845F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31845F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31845F#FFFFFF#000000##000000
##31845F1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#827A5D
Deuteranopia (green-blind)
#777261
Tritanopia (blue-blind)
#01847A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #31845f;
/* rgb */ color: rgb(49, 132, 95);
/* oklch */ color: oklch(55.2% 0.100 161.0);
Tailwind
colors: {
  custom: {
    50: '#72a88c',
    500: '#31845f',
    950: '#000000',
  },
}
SCSS
$custom: #31845f;
$custom-light: #72a88c;
$custom-dark: #000000;
JSON
{
  "hex": "#31845f",
  "rgb": {
    "r": 49,
    "g": 132,
    "b": 95
  },
  "hsl": {
    "h": 153.253,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55239,
    "c": 0.09952,
    "h": 161
  },
  "luminance": 0.17982
}

Semantic roles & 50–950 ramp

primary
#31845F
secondary
#AE6284
accent
#528DD6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #31845F

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

Preview Lab → · Contrast checker → · Palette generator →

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