#9A9D9A

A color in the Black, Gray, White family

#9a9d9a is a color in the Black, Gray, White family: RGB(154, 157, 154), HSL(120°, 2%, 61%), CMYK(2%, 0%, 2%, 38%). Closest named color: darkgray. Contrast is 2.74:1 on white and 7.66:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#9a9d9a
RGBrgb(154 157 154)
RGB (legacy)rgb(154, 157, 154)
RGB %rgb(60% 62% 60%)
HSLhsl(120 2% 61%)
HSV / HSBhsv(120, 2%, 62%)
HWBhwb(120 60% 38%)
CMYKcmyk(2%, 0%, 2%, 38%)
CIELAB (D50)lab(64.42 -1.55 1.18)
LCHlch(64.42 1.95 142.84)
OKLaboklab(0.6926 -0.0045 0.0031)
OKLCHoklch(0.6926 0.0055 145.52)
Decimal10132890

Properties

Color ToneBlack, Gray, White
Closest named colordarkgray ΔE 4.3
Closest web-safe color#999999
Hue120°
Saturation (HSL / HSV)2% / 2%
Lightness (HSL)61%
Brightness or Value (HSV)62%
Luminance (Rec.601 / Rec.709)61% / 61%
Relative luminance (WCAG)0.3332
Red / Green / Blue154 / 157 / 154

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 53 / -48.8 · As background with white / black text: Lc -58.3 / 51

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: #9a9d9a;
  --color-brand-oklch: oklch(69.26% 0.0055 145.52);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(154 157 154 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9a9d9a] text-[#9a9d9a] border-[#9a9d9a]">