#626751#626751

#626751 is a mid, muted yellow-green. Relative luminance 0.129; OKLCH L 50.3% C 0.034 H 118.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#626751
RGBrgb(98, 103, 81)
HSLhsl(74, 12%, 36%)
HSVhsv(74, 21%, 40%)
CMYKcmyk(4.9%, 0%, 21.4%, 59.6%)
CIE-LABlab(42.60, -6.20, 11.79)
CIE-LCHlch(42.60, 13.33, 117.73°)
OKLaboklab(50.29% -0.0161 0.0302)
OKLCHoklch(50.29% 0.034 118)
XYZxyz(11.3723, 12.8913, 9.6721)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626751 #565167
analogous
#676151 #626751 #576751
triadic
#626751 #516267 #675162
tetradic
#626751 #516761 #565167 #675157
square
#626751 #516761 #565167 #675157
split-complementary
#626751 #515767 #615167
monochromatic
#21221B #414536 #626751 #83896C #A0A58D

Accessibility & contrast

On white

5.87
#626751 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#626751 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626751
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626751#FFFFFF#000000##FFFFFF
##6267511.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6550
Deuteranopia (green-blind)
#6A6552
Tritanopia (blue-blind)
#646561
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #626751;
/* rgb */ color: rgb(98, 103, 81);
/* oklch */ color: oklch(50.3% 0.034 118.0);
Tailwind
colors: {
  custom: {
    50: '#8e9282',
    500: '#626751',
    950: '#000000',
  },
}
SCSS
$custom: #626751;
$custom-light: #8e9282;
$custom-dark: #000000;
JSON
{
  "hex": "#626751",
  "rgb": {
    "r": 98,
    "g": 103,
    "b": 81
  },
  "hsl": {
    "h": 73.636,
    "s": 11.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.50294,
    "c": 0.03416,
    "h": 118
  },
  "luminance": 0.12891
}

Semantic roles & 50–950 ramp

primary
#626751
secondary
#858094
accent
#73B582
background
#F8F8F7
surface
#F0F0EE
border
#CBCBC9
text
#0C0D0A
muted
#7D7D7C

Preview Lab

Preview with #626751

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

Preview Lab → · Contrast checker → · Palette generator →

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