#686F31#686F31

#686F31 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.1% C 0.086 H 114.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#686F31
RGBrgb(104, 111, 49)
HSLhsl(67, 39%, 31%)
HSVhsv(67, 56%, 44%)
CMYKcmyk(6.3%, 0%, 55.9%, 56.5%)
CIE-LABlab(44.99, -12.41, 33.15)
CIE-LCHlch(44.99, 35.40, 110.53°)
OKLaboklab(52.15% -0.0359 0.0778)
OKLCHoklch(52.15% 0.086 114.8)
XYZxyz(11.9479, 14.5339, 5.0810)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686F31 #38316F
analogous
#6F5731 #686F31 #496F31
triadic
#686F31 #31686F #6F3168
tetradic
#686F31 #316F57 #38316F #6F3149
square
#686F31 #316F57 #38316F #6F3149
split-complementary
#686F31 #31496F #57316F
monochromatic
#181A0C #40451E #686F31 #909944 #AFB961

Accessibility & contrast

On white

5.38
#686F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#686F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686F31
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686F31#FFFFFF#000000##FFFFFF
##686F311.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A2B
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#6E6961
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #686f31;
/* rgb */ color: rgb(104, 111, 49);
/* oklch */ color: oklch(52.1% 0.086 114.8);
Tailwind
colors: {
  custom: {
    50: '#95986b',
    500: '#686f31',
    950: '#000000',
  },
}
SCSS
$custom: #686f31;
$custom-light: #95986b;
$custom-dark: #000000;
JSON
{
  "hex": "#686f31",
  "rgb": {
    "r": 104,
    "g": 111,
    "b": 49
  },
  "hsl": {
    "h": 66.774,
    "s": 38.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52146,
    "c": 0.08563,
    "h": 114.8
  },
  "luminance": 0.14534
}

Semantic roles & 50–950 ramp

primary
#686F31
secondary
#635CA0
accent
#59CF66
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D07
muted
#7E7E7A

Preview Lab

Preview with #686F31

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

Preview Lab → · Contrast checker → · Palette generator →

#686F31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva