#838071#838071

#838071 is a mid, muted grey. Relative luminance 0.215; OKLCH L 59.8% C 0.022 H 97.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#838071
RGBrgb(131, 128, 113)
HSLhsl(50, 7%, 48%)
HSVhsv(50, 14%, 51%)
CMYKcmyk(0%, 2.3%, 13.7%, 48.6%)
CIE-LABlab(53.45, -1.64, 8.55)
CIE-LCHlch(53.45, 8.71, 100.87°)
OKLaboklab(59.81% -0.003 0.0222)
OKLCHoklch(59.81% 0.022 97.7)
XYZxyz(20.0596, 21.4561, 18.7043)
Luminance0.2146 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838071 #717483
analogous
#837771 #838071 #7D8371
triadic
#838071 #718380 #807183
tetradic
#838071 #718377 #717483 #83717D
square
#838071 #718377 #717483 #83717D
split-complementary
#838071 #717D83 #777183
monochromatic
#414038 #626055 #838071 #A09E91 #BCBBB2

Accessibility & contrast

On white

3.97
#838071 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#838071 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838071
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838071#FFFFFF#000000##000000
##8380711.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837F70
Deuteranopia (green-blind)
#848071
Tritanopia (blue-blind)
#867E7C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #838071;
/* rgb */ color: rgb(131, 128, 113);
/* oklch */ color: oklch(59.8% 0.022 97.7);
Tailwind
colors: {
  custom: {
    50: '#a7a499',
    500: '#838071',
    950: '#000000',
  },
}
SCSS
$custom: #838071;
$custom-light: #a7a499;
$custom-dark: #000000;
JSON
{
  "hex": "#838071",
  "rgb": {
    "r": 131,
    "g": 128,
    "b": 113
  },
  "hsl": {
    "h": 50,
    "s": 7.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59809,
    "c": 0.02241,
    "h": 97.7
  },
  "luminance": 0.21456
}

Semantic roles & 50–950 ramp

primary
#838071
secondary
#A3A5AC
accent
#81B077
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#0F0F0E
muted
#7F7F7E

Preview Lab

Preview with #838071

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

Preview Lab → · Contrast checker → · Palette generator →

#838071 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva