#626962#626962

#626962 is a mid, near-neutral grey. Relative luminance 0.136; OKLCH L 51.2% C 0.014 H 145.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#626962
RGBrgb(98, 105, 98)
HSLhsl(120, 3%, 40%)
HSVhsv(120, 7%, 41%)
CMYKcmyk(6.7%, 0%, 6.7%, 58.8%)
CIE-LABlab(43.63, -4.16, 3.01)
CIE-LCHlch(43.63, 5.13, 144.08°)
OKLaboklab(51.25% -0.0114 0.0079)
OKLCHoklch(51.25% 0.014 145.4)
XYZxyz(12.2928, 13.5816, 13.5268)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626962 #696269
analogous
#666962 #626962 #626966
triadic
#626962 #626269 #696262
tetradic
#626962 #626669 #696269 #696662
square
#626962 #626669 #696269 #696662
split-complementary
#626962 #666269 #696266
monochromatic
#272A27 #444944 #626962 #808880 #A0A6A0

Accessibility & contrast

On white

5.65
#626962 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#626962 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626962
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626962#FFFFFF#000000##FFFFFF
##6269621.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696862
Deuteranopia (green-blind)
#686762
Tritanopia (blue-blind)
#616967
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #626962;
/* rgb */ color: rgb(98, 105, 98);
/* oklch */ color: oklch(51.2% 0.014 145.4);
Tailwind
colors: {
  custom: {
    50: '#8e938e',
    500: '#626962',
    950: '#000000',
  },
}
SCSS
$custom: #626962;
$custom-light: #8e938e;
$custom-dark: #000000;
JSON
{
  "hex": "#626962",
  "rgb": {
    "r": 98,
    "g": 105,
    "b": 98
  },
  "hsl": {
    "h": 120,
    "s": 3.448,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.01385,
    "h": 145.4
  },
  "luminance": 0.13582
}

Semantic roles & 50–950 ramp

primary
#626962
secondary
#969196
accent
#7BADAD
background
#F8F9F8
surface
#F0F1F0
border
#CBCBCB
text
#0C0D0C
muted
#7D7E7D

Preview Lab

Preview with #626962

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

Preview Lab → · Contrast checker → · Palette generator →

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