#686D1F#686D1F

#686D1F is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.5% C 0.099 H 113.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#686D1F
RGBrgb(104, 109, 31)
HSLhsl(64, 56%, 27%)
HSVhsv(64, 72%, 43%)
CMYKcmyk(4.6%, 0%, 71.6%, 57.3%)
CIE-LABlab(44.20, -12.74, 40.87)
CIE-LCHlch(44.20, 42.80, 107.31°)
OKLaboklab(51.46% -0.0388 0.0915)
OKLCHoklch(51.46% 0.099 113)
XYZxyz(11.4252, 13.9795, 3.3925)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686D1F #241F6D
analogous
#6D4B1F #686D1F #416D1F
triadic
#686D1F #1F686D #6D1F68
tetradic
#686D1F #1F6D4B #241F6D #6D1F41
square
#686D1F #1F6D4B #241F6D #6D1F41
split-complementary
#686D1F #1F416D #4B1F6D
monochromatic
#171807 #3B3D11 #686D1F #959D2D #BFC83E

Accessibility & contrast

On white

5.53
#686D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#686D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686D1F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686D1F#FFFFFF#000000##FFFFFF
##686D1F1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756813
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#6F665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #686d1f;
/* rgb */ color: rgb(104, 109, 31);
/* oklch */ color: oklch(51.5% 0.099 113.0);
Tailwind
colors: {
  custom: {
    50: '#969660',
    500: '#686d1f',
    950: '#000000',
  },
}
SCSS
$custom: #686d1f;
$custom-light: #969660;
$custom-dark: #000000;
JSON
{
  "hex": "#686d1f",
  "rgb": {
    "r": 104,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 63.846,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51462,
    "c": 0.09943,
    "h": 113
  },
  "luminance": 0.13979
}

Semantic roles & 50–950 ramp

primary
#686D1F
secondary
#4C47A1
accent
#49DF52
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #686D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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