#5F5E4E#5F5E4E

#5F5E4E is a mid, muted yellow. Relative luminance 0.110; OKLCH L 47.8% C 0.025 H 104.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5F5E4E
RGBrgb(95, 94, 78)
HSLhsl(56, 10%, 34%)
HSVhsv(56, 18%, 37%)
CMYKcmyk(0%, 1.1%, 17.9%, 62.7%)
CIE-LABlab(39.56, -2.68, 9.34)
CIE-LCHlch(39.56, 9.72, 106.03°)
OKLaboklab(47.8% -0.0061 0.024)
OKLCHoklch(47.8% 0.025 104.4)
XYZxyz(10.0971, 10.9885, 8.7953)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5E4E #4E4F5F
analogous
#5F564E #5F5E4E #585F4E
triadic
#5F5E4E #4E5F5E #5E4E5F
tetradic
#5F5E4E #4E5F56 #4E4F5F #5F4E58
square
#5F5E4E #4E5F56 #4E4F5F #5F4E58
split-complementary
#5F5E4E #4E585F #564E5F
monochromatic
#1C1B17 #3D3D32 #5F5E4E #817F6A #9E9D89

Accessibility & contrast

On white

6.57
#5F5E4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5F5E4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5E4E
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5E4E#FFFFFF#000000##FFFFFF
##5F5E4E1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615D4D
Deuteranopia (green-blind)
#625E4F
Tritanopia (blue-blind)
#625C5A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f5e4e;
/* rgb */ color: rgb(95, 94, 78);
/* oklch */ color: oklch(47.8% 0.025 104.4);
Tailwind
colors: {
  custom: {
    50: '#8c8b7f',
    500: '#5f5e4e',
    950: '#000000',
  },
}
SCSS
$custom: #5f5e4e;
$custom-light: #8c8b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5e4e",
  "rgb": {
    "r": 95,
    "g": 94,
    "b": 78
  },
  "hsl": {
    "h": 56.471,
    "s": 9.827,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47802,
    "c": 0.0248,
    "h": 104.4
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

primary
#5F5E4E
secondary
#7C7D8D
accent
#79B375
background
#F8F8F7
surface
#F0F0EE
border
#CBCBC9
text
#0C0C0A
muted
#7D7D7C

Preview Lab

Preview with #5F5E4E

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

Preview Lab → · Contrast checker → · Palette generator →

#5F5E4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva