#5F643A#5F643A

#5F643A is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.8% C 0.062 H 114.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5F643A
RGBrgb(95, 100, 58)
HSLhsl(67, 27%, 31%)
HSVhsv(67, 42%, 39%)
CMYKcmyk(5%, 0%, 42%, 60.8%)
CIE-LABlab(40.98, -9.25, 23.16)
CIE-LCHlch(40.98, 24.94, 111.77°)
OKLaboklab(48.8% -0.0255 0.0565)
OKLCHoklch(48.8% 0.062 114.3)
XYZxyz(10.0403, 11.8528, 5.7611)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F643A #3F3A64
analogous
#64543A #5F643A #4A643A
triadic
#5F643A #3A5F64 #643A5F
tetradic
#5F643A #3A6454 #3F3A64 #643A4A
square
#5F643A #3A6454 #3F3A64 #643A4A
split-complementary
#5F643A #3A4A64 #543A64
monochromatic
#15170D #3A3D24 #5F643A #848B50 #A3AB6E

Accessibility & contrast

On white

6.23
#5F643A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5F643A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F643A
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F643A#FFFFFF#000000##FFFFFF
##5F643A1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6037
Deuteranopia (green-blind)
#69613C
Tritanopia (blue-blind)
#64605A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f643a;
/* rgb */ color: rgb(95, 100, 58);
/* oklch */ color: oklch(48.8% 0.062 114.3);
Tailwind
colors: {
  custom: {
    50: '#8d9071',
    500: '#5f643a',
    950: '#000000',
  },
}
SCSS
$custom: #5f643a;
$custom-light: #8d9071;
$custom-dark: #000000;
JSON
{
  "hex": "#5f643a",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 58
  },
  "hsl": {
    "h": 67.143,
    "s": 26.582,
    "l": 30.98
  },
  "oklch": {
    "l": 0.48797,
    "c": 0.06198,
    "h": 114.3
  },
  "luminance": 0.11853
}

Semantic roles & 50–950 ramp

primary
#5F643A
secondary
#6B6694
accent
#65C370
background
#F8F8F6
surface
#F0F0EC
border
#CBCBC7
text
#0C0C07
muted
#7D7D7A

Preview Lab

Preview with #5F643A

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

Preview Lab → · Contrast checker → · Palette generator →

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