#7B8A8A#7B8A8A

#7B8A8A is a light, near-neutral grey. Relative luminance 0.242; OKLCH L 62.1% C 0.017 H 196.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7B8A8A
RGBrgb(123, 138, 138)
HSLhsl(180, 6%, 51%)
HSVhsv(180, 11%, 54%)
CMYKcmyk(10.9%, 0%, 0%, 45.9%)
CIE-LABlab(56.31, -5.42, -1.85)
CIE-LCHlch(56.31, 5.72, 198.84°)
OKLaboklab(62.13% -0.0167 -0.005)
OKLCHoklch(62.13% 0.017 196.7)
XYZxyz(21.8432, 24.2225, 27.5644)
Luminance0.2422 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8A8A #8A7B7B
analogous
#7B8A82 #7B8A8A #7B828A
triadic
#7B8A8A #8A7B8A #8A8A7B
tetradic
#7B8A8A #827B8A #8A7B7B #828A7B
square
#7B8A8A #827B8A #8A7B7B #828A7B
split-complementary
#7B8A8A #8A7B82 #8A827B
monochromatic
#414949 #5E6A6A #7B8A8A #9BA7A7 #BCC4C4

Accessibility & contrast

On white

3.59
#7B8A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#7B8A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8A8A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8A8A#FFFFFF#000000##000000
##7B8A8A1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88888A
Deuteranopia (green-blind)
#85868A
Tritanopia (blue-blind)
#778B8A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b8a8a;
/* rgb */ color: rgb(123, 138, 138);
/* oklch */ color: oklch(62.1% 0.017 196.7);
Tailwind
colors: {
  custom: {
    50: '#a1acac',
    500: '#7b8a8a',
    950: '#000000',
  },
}
SCSS
$custom: #7b8a8a;
$custom-light: #a1acac;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8a8a",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 138
  },
  "hsl": {
    "h": 180,
    "s": 6.024,
    "l": 51.176
  },
  "oklch": {
    "l": 0.62131,
    "c": 0.01745,
    "h": 196.7
  },
  "luminance": 0.24223
}

Semantic roles & 50–950 ramp

primary
#7B8A8A
secondary
#B4ADAD
accent
#7979AF
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0F1010
muted
#7E7F7F

Preview Lab

Preview with #7B8A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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