#5F643E#5F643E

#5F643E is a mid, muted yellow. Relative luminance 0.119; OKLCH L 48.9% C 0.057 H 114.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5F643E
RGBrgb(95, 100, 62)
HSLhsl(68, 23%, 32%)
HSVhsv(68, 38%, 39%)
CMYKcmyk(5%, 0%, 38%, 60.8%)
CIE-LABlab(41.05, -8.71, 20.93)
CIE-LCHlch(41.05, 22.67, 112.60°)
OKLaboklab(48.87% -0.0237 0.0516)
OKLCHoklch(48.87% 0.057 114.6)
XYZxyz(10.1460, 11.8951, 6.3180)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F643E #433E64
analogous
#64563E #5F643E #4C643E
triadic
#5F643E #3E5F64 #643E5F
tetradic
#5F643E #3E6456 #433E64 #643E4C
square
#5F643E #3E6456 #433E64 #643E4C
split-complementary
#5F643E #3E4C64 #563E64
monochromatic
#17180F #3B3E27 #5F643E #838A55 #A2A974

Accessibility & contrast

On white

6.21
#5F643E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5F643E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F643E
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F643E#FFFFFF#000000##FFFFFF
##5F643E1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69603B
Deuteranopia (green-blind)
#696140
Tritanopia (blue-blind)
#63605A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f643e;
/* rgb */ color: rgb(95, 100, 62);
/* oklch */ color: oklch(48.9% 0.057 114.6);
Tailwind
colors: {
  custom: {
    50: '#8d9074',
    500: '#5f643e',
    950: '#000000',
  },
}
SCSS
$custom: #5f643e;
$custom-light: #8d9074;
$custom-dark: #000000;
JSON
{
  "hex": "#5f643e",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 62
  },
  "hsl": {
    "h": 67.895,
    "s": 23.457,
    "l": 31.765
  },
  "oklch": {
    "l": 0.48873,
    "c": 0.05675,
    "h": 114.6
  },
  "luminance": 0.11895
}

Semantic roles & 50–950 ramp

primary
#5F643E
secondary
#706A94
accent
#68C073
background
#F8F8F7
surface
#F0F0ED
border
#CBCBC8
text
#0C0C08
muted
#7D7D7B

Preview Lab

Preview with #5F643E

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

Preview Lab → · Contrast checker → · Palette generator →

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