#686717#686717

#686717 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 49.9% C 0.098 H 108.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#686717
RGBrgb(104, 103, 23)
HSLhsl(59, 64%, 25%)
HSVhsv(59, 78%, 41%)
CMYKcmyk(0%, 1%, 77.9%, 59.2%)
CIE-LABlab(42.32, -9.83, 42.23)
CIE-LCHlch(42.32, 43.36, 103.10°)
OKLaboklab(49.94% -0.0315 0.0929)
OKLCHoklch(49.94% 0.098 108.7)
XYZxyz(10.7142, 12.7058, 2.6985)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686717 #171868
analogous
#683E17 #686717 #416817
triadic
#686717 #176867 #671768
tetradic
#686717 #17683E #171868 #681741
square
#686717 #17683E #171868 #681741
split-complementary
#686717 #174168 #3E1768
monochromatic
#191906 #36350C #686717 #9A9922 #CCCA2D

Accessibility & contrast

On white

5.93
#686717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#686717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686717
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686717#FFFFFF#000000##FFFFFF
##6867171.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706206
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#706058
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #686717;
/* rgb */ color: rgb(104, 103, 23);
/* oklch */ color: oklch(49.9% 0.098 108.7);
Tailwind
colors: {
  custom: {
    50: '#96925b',
    500: '#686717',
    950: '#000000',
  },
}
SCSS
$custom: #686717;
$custom-light: #96925b;
$custom-dark: #000000;
JSON
{
  "hex": "#686717",
  "rgb": {
    "r": 104,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 59.259,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.49936,
    "c": 0.0981,
    "h": 108.7
  },
  "luminance": 0.12705
}

Semantic roles & 50–950 ramp

primary
#686717
secondary
#3D3E9E
accent
#43E741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686717

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

Preview Lab → · Contrast checker → · Palette generator →

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