#7E8274#7E8274

#7E8274 is a mid, muted grey. Relative luminance 0.217; OKLCH L 59.9% C 0.021 H 120.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7E8274
RGBrgb(126, 130, 116)
HSLhsl(77, 6%, 48%)
HSVhsv(77, 11%, 51%)
CMYKcmyk(3.1%, 0%, 10.8%, 49%)
CIE-LABlab(53.67, -4.19, 7.07)
CIE-LCHlch(53.67, 8.22, 120.66°)
OKLaboklab(59.9% -0.0106 0.0184)
OKLCHoklch(59.9% 0.021 120)
XYZxyz(19.7388, 21.6619, 19.6609)
Luminance0.2166 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8274 #787482
analogous
#827F74 #7E8274 #778274
triadic
#7E8274 #747E82 #82747E
tetradic
#7E8274 #74827F #787482 #827477
square
#7E8274 #74827F #787482 #827477
split-complementary
#7E8274 #747782 #7F7482
monochromatic
#3F413A #5F6257 #7E8274 #9C9F94 #BABCB4

Accessibility & contrast

On white

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

On black

5.33
#7E8274 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8274
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8274#FFFFFF#000000##000000
##7E82741.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#848073
Deuteranopia (green-blind)
#848075
Tritanopia (blue-blind)
#7F807E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e8274;
/* rgb */ color: rgb(126, 130, 116);
/* oklch */ color: oklch(59.9% 0.021 120.0);
Tailwind
colors: {
  custom: {
    50: '#a3a69c',
    500: '#7e8274',
    950: '#000000',
  },
}
SCSS
$custom: #7e8274;
$custom-light: #a3a69c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8274",
  "rgb": {
    "r": 126,
    "g": 130,
    "b": 116
  },
  "hsl": {
    "h": 77.143,
    "s": 5.691,
    "l": 48.235
  },
  "oklch": {
    "l": 0.59905,
    "c": 0.02125,
    "h": 120
  },
  "luminance": 0.21662
}

Semantic roles & 50–950 ramp

primary
#7E8274
secondary
#A7A5AC
accent
#79AF88
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F0F0E
muted
#7F7F7E

Preview Lab

Preview with #7E8274

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

Preview Lab → · Contrast checker → · Palette generator →

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