#686517#686517

#686517 is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.5% C 0.096 H 107.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#686517
RGBrgb(104, 101, 23)
HSLhsl(58, 64%, 25%)
HSVhsv(58, 78%, 41%)
CMYKcmyk(0%, 2.9%, 77.9%, 59.2%)
CIE-LABlab(41.71, -8.70, 41.66)
CIE-LCHlch(41.71, 42.56, 101.79°)
OKLaboklab(49.45% -0.0284 0.0917)
OKLCHoklch(49.45% 0.096 107.2)
XYZxyz(10.5177, 12.3126, 2.6330)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686517 #171A68
analogous
#683D17 #686517 #426817
triadic
#686517 #176865 #651768
tetradic
#686517 #17683D #171A68 #681742
square
#686517 #17683D #171A68 #681742
split-complementary
#686517 #174268 #3D1768
monochromatic
#191806 #36340C #686517 #9A9622 #CCC62D

Accessibility & contrast

On white

6.07
#686517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#686517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686517
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686517#FFFFFF#000000##FFFFFF
##6865171.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6107
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#705E56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #686517;
/* rgb */ color: rgb(104, 101, 23);
/* oklch */ color: oklch(49.5% 0.096 107.2);
Tailwind
colors: {
  custom: {
    50: '#96905b',
    500: '#686517',
    950: '#000000',
  },
}
SCSS
$custom: #686517;
$custom-light: #96905b;
$custom-dark: #000000;
JSON
{
  "hex": "#686517",
  "rgb": {
    "r": 104,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 57.778,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.49451,
    "c": 0.09597,
    "h": 107.2
  },
  "luminance": 0.12312
}

Semantic roles & 50–950 ramp

primary
#686517
secondary
#3D409E
accent
#47E741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686517

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

Preview Lab → · Contrast checker → · Palette generator →

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