#626151#626151

#626151 is a mid, muted yellow. Relative luminance 0.117; OKLCH L 48.9% C 0.025 H 104.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#626151
RGBrgb(98, 97, 81)
HSLhsl(56, 9%, 35%)
HSVhsv(56, 17%, 38%)
CMYKcmyk(0%, 1%, 17.3%, 61.6%)
CIE-LABlab(40.80, -2.68, 9.29)
CIE-LCHlch(40.80, 9.67, 106.08°)
OKLaboklab(48.87% -0.0061 0.0239)
OKLCHoklch(48.87% 0.025 104.3)
XYZxyz(10.7968, 11.7403, 9.4803)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626151 #515262
analogous
#625951 #626151 #5A6251
triadic
#626151 #516261 #615162
tetradic
#626151 #516259 #515262 #62515A
square
#626151 #516259 #515262 #62515A
split-complementary
#626151 #515A62 #595162
monochromatic
#1F1F1A #404035 #626151 #84826D #A19F8D

Accessibility & contrast

On white

6.27
#626151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#626151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626151
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626151#FFFFFF#000000##FFFFFF
##6261511.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646050
Deuteranopia (green-blind)
#656152
Tritanopia (blue-blind)
#655F5C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #626151;
/* rgb */ color: rgb(98, 97, 81);
/* oklch */ color: oklch(48.9% 0.025 104.3);
Tailwind
colors: {
  custom: {
    50: '#8e8d81',
    500: '#626151',
    950: '#000000',
  },
}
SCSS
$custom: #626151;
$custom-light: #8e8d81;
$custom-dark: #000000;
JSON
{
  "hex": "#626151",
  "rgb": {
    "r": 98,
    "g": 97,
    "b": 81
  },
  "hsl": {
    "h": 56.471,
    "s": 9.497,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48871,
    "c": 0.02469,
    "h": 104.3
  },
  "luminance": 0.1174
}

Semantic roles & 50–950 ramp

primary
#626151
secondary
#7F808F
accent
#79B275
background
#F8F8F7
surface
#F0F0EE
border
#CBCBC9
text
#0C0C0A
muted
#7D7D7C

Preview Lab

Preview with #626151

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

Preview Lab → · Contrast checker → · Palette generator →

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