#666262#666262

#666262 is a mid, near-neutral grey. Relative luminance 0.124; OKLCH L 50.0% C 0.005 H 17.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#666262
RGBrgb(102, 98, 98)
HSLhsl(0, 2%, 39%)
HSVhsv(0, 4%, 40%)
CMYKcmyk(0%, 3.9%, 3.9%, 60%)
CIE-LABlab(41.91, 1.58, 0.56)
CIE-LCHlch(41.91, 1.68, 19.63°)
OKLaboklab(49.98% 0.0049 0.0015)
OKLCHoklch(49.98% 0.005 17.3)
XYZxyz(12.0515, 12.4421, 13.3196)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666262 #626666
analogous
#666264 #666262 #666462
triadic
#666262 #626662 #626266
tetradic
#666262 #646662 #626666 #646266
square
#666262 #646662 #626666 #646266
split-complementary
#666262 #626664 #626466
monochromatic
#282626 #474444 #666262 #858080 #A39F9F

Accessibility & contrast

On white

6.02
#666262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#666262 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666262
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666262#FFFFFF#000000##FFFFFF
##6662621.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636262
Deuteranopia (green-blind)
#636362
Tritanopia (blue-blind)
#676262
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #666262;
/* rgb */ color: rgb(102, 98, 98);
/* oklch */ color: oklch(50.0% 0.005 17.3);
Tailwind
colors: {
  custom: {
    50: '#918e8e',
    500: '#666262',
    950: '#000000',
  },
}
SCSS
$custom: #666262;
$custom-light: #918e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#666262",
  "rgb": {
    "r": 102,
    "g": 98,
    "b": 98
  },
  "hsl": {
    "h": 0,
    "s": 2,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49982,
    "c": 0.00508,
    "h": 17.3
  },
  "luminance": 0.12442
}

Semantic roles & 50–950 ramp

primary
#666262
secondary
#909393
accent
#ABAB7D
background
#F8F8F8
surface
#F0F0F0
border
#CBCBCB
text
#0C0C0C
muted
#7D7D7D

Preview Lab

Preview with #666262

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

Preview Lab → · Contrast checker → · Palette generator →

#666262 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva