#5B5957

A color in the Black, Gray, White family

#5b5957 is a color in the Black, Gray, White family: RGB(91, 89, 87), HSL(30°, 2%, 35%), CMYK(0%, 2%, 4%, 64%). Closest named color: dimgray. Contrast is 6.97:1 on white and 3.01:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#5b5957
RGBrgb(91 89 87)
RGB (legacy)rgb(91, 89, 87)
RGB %rgb(36% 35% 34%)
HSLhsl(30 2% 35%)
HSV / HSBhsv(30, 4%, 36%)
HWBhwb(30 34% 64%)
CMYKcmyk(0%, 2%, 4%, 64%)
CIELAB (D50)lab(37.96 0.52 1.46)
LCHlch(37.96 1.55 70.29)
OKLaboklab(0.4652 0.0016 0.0038)
OKLCHoklch(0.4652 0.0041 67.72)
Decimal5986647

Properties

Color ToneBlack, Gray, White
Closest named colordimgray ΔE 5.6
Closest web-safe color#666666
Hue30°
Saturation (HSL / HSV)2% / 4%
Lightness (HSL)35%
Brightness or Value (HSV)36%
Luminance (Rec.601 / Rec.709)35% / 35%
Relative luminance (WCAG)0.1006
Red / Green / Blue91 / 89 / 87

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 84.2 / -17.8 · As background with white / black text: Lc -89.1 / 19.9

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: #5b5957;
  --color-brand-oklch: oklch(46.52% 0.0041 67.72);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(91 89 87 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5b5957] text-[#5b5957] border-[#5b5957]">