#686617#686617

#686617 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.7% C 0.097 H 108.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#686617
RGBrgb(104, 102, 23)
HSLhsl(59, 64%, 25%)
HSVhsv(59, 78%, 41%)
CMYKcmyk(0%, 1.9%, 77.9%, 59.2%)
CIE-LABlab(42.01, -9.26, 41.95)
CIE-LCHlch(42.01, 42.96, 102.45°)
OKLaboklab(49.69% -0.0299 0.0923)
OKLCHoklch(49.69% 0.097 108)
XYZxyz(10.6154, 12.5080, 2.6656)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686617 #171968
analogous
#683E17 #686617 #416817
triadic
#686617 #176866 #661768
tetradic
#686617 #17683E #171968 #681741
square
#686617 #17683E #171968 #681741
split-complementary
#686617 #174168 #3E1768
monochromatic
#191906 #36350C #686617 #9A9722 #CCC82D

Accessibility & contrast

On white

6.00
#686617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#686617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686617
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686617#FFFFFF#000000##FFFFFF
##6866171.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6207
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#705F57
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #686617;
/* rgb */ color: rgb(104, 102, 23);
/* oklch */ color: oklch(49.7% 0.097 108.0);
Tailwind
colors: {
  custom: {
    50: '#96915b',
    500: '#686617',
    950: '#000000',
  },
}
SCSS
$custom: #686617;
$custom-light: #96915b;
$custom-dark: #000000;
JSON
{
  "hex": "#686617",
  "rgb": {
    "r": 104,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 58.519,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.49693,
    "c": 0.09703,
    "h": 108
  },
  "luminance": 0.12508
}

Semantic roles & 50–950 ramp

primary
#686617
secondary
#3D3F9E
accent
#45E741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686617

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

Preview Lab → · Contrast checker → · Palette generator →

#686617 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva