#626656#626656

#626656 is a mid, muted yellow-green. Relative luminance 0.128; OKLCH L 50.2% C 0.025 H 118.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#626656
RGBrgb(98, 102, 86)
HSLhsl(75, 9%, 37%)
HSVhsv(75, 16%, 40%)
CMYKcmyk(3.9%, 0%, 15.7%, 60%)
CIE-LABlab(42.42, -4.73, 8.53)
CIE-LCHlch(42.42, 9.75, 118.99°)
OKLaboklab(50.19% -0.0121 0.022)
OKLCHoklch(50.19% 0.025 118.7)
XYZxyz(11.4679, 12.7713, 10.6633)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626656 #5A5666
analogous
#666256 #626656 #5A6656
triadic
#626656 #566266 #665662
tetradic
#626656 #566662 #5A5666 #66565A
square
#626656 #566662 #5A5666 #66565A
split-complementary
#626656 #565A66 #625666
monochromatic
#22241E #42453A #626656 #828772 #9FA493

Accessibility & contrast

On white

5.91
#626656 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#626656 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626656
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626656#FFFFFF#000000##FFFFFF
##6266561.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686455
Deuteranopia (green-blind)
#686457
Tritanopia (blue-blind)
#646461
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #626656;
/* rgb */ color: rgb(98, 102, 86);
/* oklch */ color: oklch(50.2% 0.025 118.7);
Tailwind
colors: {
  custom: {
    50: '#8e9185',
    500: '#626656',
    950: '#000000',
  },
}
SCSS
$custom: #626656;
$custom-light: #8e9185;
$custom-dark: #000000;
JSON
{
  "hex": "#626656",
  "rgb": {
    "r": 98,
    "g": 102,
    "b": 86
  },
  "hsl": {
    "h": 75,
    "s": 8.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.50189,
    "c": 0.02512,
    "h": 118.7
  },
  "luminance": 0.12771
}

Semantic roles & 50–950 ramp

primary
#626656
secondary
#888593
accent
#76B285
background
#F8F8F8
surface
#F0F0EF
border
#CBCBCA
text
#0C0C0B
muted
#7D7D7C

Preview Lab

Preview with #626656

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

Preview Lab → · Contrast checker → · Palette generator →

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