#8A8B8A

A color in the Black, Gray, White family

#8a8b8a is a color in the Black, Gray, White family: RGB(138, 139, 138), HSL(120°, 0%, 54%), CMYK(1%, 0%, 1%, 45%). Closest named color: gray. Contrast is 3.42:1 on white and 6.14:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a8b8a
RGBrgb(138 139 138)
RGB (legacy)rgb(138, 139, 138)
RGB %rgb(54% 55% 54%)
HSLhsl(120 0% 54%)
HSV / HSBhsv(120, 1%, 55%)
HWBhwb(120 54% 45%)
CMYKcmyk(1%, 0%, 1%, 45%)
CIELAB (D50)lab(57.76 -0.53 0.4)
LCHlch(57.76 0.66 142.91)
OKLaboklab(0.6356 -0.0015 0.0011)
OKLCHoklch(0.6356 0.0019 145.55)
Decimal9079690

Properties

Color ToneBlack, Gray, White
Closest named colorgray ΔE 3.6
Closest web-safe color#999999
Hue120°
Saturation (HSL / HSV)0% / 1%
Lightness (HSL)54%
Brightness or Value (HSV)55%
Luminance (Rec.601 / Rec.709)54% / 54%
Relative luminance (WCAG)0.257
Red / Green / Blue138 / 139 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.42:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.14:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 61.7 / -40 · As background with white / black text: Lc -67.2 / 42.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #8a8b8a;
  --color-brand-oklch: oklch(63.56% 0.0019 145.55);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 139 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a8b8a] text-[#8a8b8a] border-[#8a8b8a]">