#7E8272#7E8272

#7E8272 is a mid, muted grey. Relative luminance 0.216; OKLCH L 59.9% C 0.024 H 118.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7E8272
RGBrgb(126, 130, 114)
HSLhsl(75, 7%, 48%)
HSVhsv(75, 12%, 51%)
CMYKcmyk(3.1%, 0%, 12.3%, 49%)
CIE-LABlab(53.62, -4.55, 8.16)
CIE-LCHlch(53.62, 9.35, 119.17°)
OKLaboklab(59.85% -0.0115 0.0212)
OKLCHoklch(59.85% 0.024 118.5)
XYZxyz(19.6237, 21.6158, 19.0548)
Luminance0.2162 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8272 #767282
analogous
#827E72 #7E8272 #768272
triadic
#7E8272 #727E82 #82727E
tetradic
#7E8272 #72827E #767282 #827276
square
#7E8272 #72827E #767282 #827276
split-complementary
#7E8272 #727682 #7E7282
monochromatic
#3F4139 #5E6155 #7E8272 #9C9F92 #BABCB2

Accessibility & contrast

On white

3.94
#7E8272 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7E8272 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8272
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8272#FFFFFF#000000##000000
##7E82721.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#848071
Deuteranopia (green-blind)
#848073
Tritanopia (blue-blind)
#80807D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e8272;
/* rgb */ color: rgb(126, 130, 114);
/* oklch */ color: oklch(59.9% 0.024 118.5);
Tailwind
colors: {
  custom: {
    50: '#a3a69a',
    500: '#7e8272',
    950: '#000000',
  },
}
SCSS
$custom: #7e8272;
$custom-light: #a3a69a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8272",
  "rgb": {
    "r": 126,
    "g": 130,
    "b": 114
  },
  "hsl": {
    "h": 75,
    "s": 6.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5985,
    "c": 0.02411,
    "h": 118.5
  },
  "luminance": 0.21616
}

Semantic roles & 50–950 ramp

primary
#7E8272
secondary
#A6A4AC
accent
#78B086
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F0F0E
muted
#7F7F7E

Preview Lab

Preview with #7E8272

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

Preview Lab → · Contrast checker → · Palette generator →

#7E8272 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva