#686317#686317

#686317 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 49.0% C 0.094 H 105.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#686317
RGBrgb(104, 99, 23)
HSLhsl(56, 64%, 25%)
HSVhsv(56, 78%, 41%)
CMYKcmyk(0%, 4.8%, 77.9%, 59.2%)
CIE-LABlab(41.10, -7.56, 41.09)
CIE-LCHlch(41.10, 41.78, 100.42°)
OKLaboklab(48.97% -0.0252 0.0905)
OKLCHoklch(48.97% 0.094 105.5)
XYZxyz(10.3258, 11.9290, 2.5691)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686317 #171C68
analogous
#683A17 #686317 #456817
triadic
#686317 #176863 #631768
tetradic
#686317 #17683A #171C68 #681745
square
#686317 #17683A #171C68 #681745
split-complementary
#686317 #174568 #3A1768
monochromatic
#191806 #36330C #686317 #9A9322 #CCC22D

Accessibility & contrast

On white

6.20
#686317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#686317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686317
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686317#FFFFFF#000000##FFFFFF
##6863171.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F08
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#705C54
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #686317;
/* rgb */ color: rgb(104, 99, 23);
/* oklch */ color: oklch(49.0% 0.094 105.5);
Tailwind
colors: {
  custom: {
    50: '#968f5a',
    500: '#686317',
    950: '#000000',
  },
}
SCSS
$custom: #686317;
$custom-light: #968f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#686317",
  "rgb": {
    "r": 104,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 56.296,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48968,
    "c": 0.0939,
    "h": 105.5
  },
  "luminance": 0.11929
}

Semantic roles & 50–950 ramp

primary
#686317
secondary
#3D439E
accent
#4BE741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686317

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

Preview Lab → · Contrast checker → · Palette generator →

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