#626262#626262

#626262 is a mid, near-neutral grey. Relative luminance 0.122; OKLCH L 49.6% C 0.000 H 0.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#626262
RGBrgb(98, 98, 98)
HSLhsl(0, 0%, 38%)
HSVhsv(0, 0%, 38%)
CMYKcmyk(0%, 0%, 0%, 61.6%)
CIE-LABlab(41.55, -0.00, 0.00)
CIE-LCHlch(41.55, 0.00, 146.31°)
OKLaboklab(49.62% 0 0)
OKLCHoklch(49.62% 0 0)
XYZxyz(11.6089, 12.2139, 13.2988)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626262 #626262
analogous
#626262 #626262 #626262
triadic
#626262 #626262 #626262
tetradic
#626262 #626262 #626262 #626262
square
#626262 #626262 #626262 #626262
split-complementary
#626262 #626262 #626262
monochromatic
#252525 #434343 #626262 #818181 #9F9F9F

Accessibility & contrast

On white

6.10
#626262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#626262 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626262
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626262#FFFFFF#000000##FFFFFF
##6262621.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626262
Deuteranopia (green-blind)
#626262
Tritanopia (blue-blind)
#626262
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #626262;
/* rgb */ color: rgb(98, 98, 98);
/* oklch */ color: oklch(49.6% 0.000 0.0);
Tailwind
colors: {
  custom: {
    50: '#8e8e8e',
    500: '#626262',
    950: '#000000',
  },
}
SCSS
$custom: #626262;
$custom-light: #8e8e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#626262",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 98
  },
  "hsl": {
    "h": 0,
    "s": 0,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49616,
    "c": 0,
    "h": 0
  },
  "luminance": 0.12214
}

Semantic roles & 50–950 ramp

primary
#626262
secondary
#909090
accent
#A9A97E
background
#F8F8F8
surface
#F0F0F0
border
#CBCBCB
text
#0C0C0C
muted
#7D7D7D

Preview Lab

Preview with #626262

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

Preview Lab → · Contrast checker → · Palette generator →

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