#686D17#686D17

#686D17 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.4% C 0.105 H 112.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#686D17
RGBrgb(104, 109, 23)
HSLhsl(63, 65%, 26%)
HSVhsv(63, 79%, 43%)
CMYKcmyk(4.6%, 0%, 78.9%, 57.3%)
CIE-LABlab(44.15, -13.18, 43.95)
CIE-LCHlch(44.15, 45.88, 106.69°)
OKLaboklab(51.4% -0.0408 0.0965)
OKLCHoklch(51.4% 0.105 112.9)
XYZxyz(11.3326, 13.9425, 2.9046)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686D17 #1C176D
analogous
#6D4717 #686D17 #3D6D17
triadic
#686D17 #17686D #6D1768
tetradic
#686D17 #176D47 #1C176D #6D173D
square
#686D17 #176D47 #1C176D #6D173D
split-complementary
#686D17 #173D6D #47176D
monochromatic
#181905 #383A0C #686D17 #98A022 #C8D22C

Accessibility & contrast

On white

5.54
#686D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#686D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686D17
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686D17#FFFFFF#000000##FFFFFF
##686D171.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766704
Deuteranopia (green-blind)
#76691E
Tritanopia (blue-blind)
#70665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #686d17;
/* rgb */ color: rgb(104, 109, 23);
/* oklch */ color: oklch(51.4% 0.105 112.9);
Tailwind
colors: {
  custom: {
    50: '#96965c',
    500: '#686d17',
    950: '#000000',
  },
}
SCSS
$custom: #686d17;
$custom-light: #96965c;
$custom-dark: #000000;
JSON
{
  "hex": "#686d17",
  "rgb": {
    "r": 104,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 63.488,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51402,
    "c": 0.10482,
    "h": 112.9
  },
  "luminance": 0.13942
}

Semantic roles & 50–950 ramp

primary
#686D17
secondary
#433DA3
accent
#40E849
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686D17

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

Preview Lab → · Contrast checker → · Palette generator →

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