#686417#686417

#686417 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.2% C 0.095 H 106.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#686417
RGBrgb(104, 100, 23)
HSLhsl(57, 64%, 25%)
HSVhsv(57, 78%, 41%)
CMYKcmyk(0%, 3.8%, 77.9%, 59.2%)
CIE-LABlab(41.41, -8.13, 41.38)
CIE-LCHlch(41.41, 42.17, 101.11°)
OKLaboklab(49.21% -0.0268 0.0911)
OKLCHoklch(49.21% 0.095 106.4)
XYZxyz(10.4212, 12.1196, 2.6008)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686417 #171B68
analogous
#683C17 #686417 #446817
triadic
#686417 #176864 #641768
tetradic
#686417 #17683C #171B68 #681744
square
#686417 #17683C #171B68 #681744
split-complementary
#686417 #174468 #3C1768
monochromatic
#191806 #36340C #686417 #9A9422 #CCC42D

Accessibility & contrast

On white

6.13
#686417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#686417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686417
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686417#FFFFFF#000000##FFFFFF
##6864171.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6008
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#705D55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #686417;
/* rgb */ color: rgb(104, 100, 23);
/* oklch */ color: oklch(49.2% 0.095 106.4);
Tailwind
colors: {
  custom: {
    50: '#968f5b',
    500: '#686417',
    950: '#000000',
  },
}
SCSS
$custom: #686417;
$custom-light: #968f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#686417",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 57.037,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.49209,
    "c": 0.09493,
    "h": 106.4
  },
  "luminance": 0.12119
}

Semantic roles & 50–950 ramp

primary
#686417
secondary
#3D419E
accent
#49E741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686417

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

Preview Lab → · Contrast checker → · Palette generator →

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