#686017#686017

#686017 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.2% C 0.091 H 102.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#686017
RGBrgb(104, 96, 23)
HSLhsl(54, 64%, 25%)
HSVhsv(54, 78%, 41%)
CMYKcmyk(0%, 7.7%, 77.9%, 59.2%)
CIE-LABlab(40.20, -5.82, 40.23)
CIE-LCHlch(40.20, 40.65, 98.24°)
OKLaboklab(48.25% -0.0203 0.0887)
OKLCHoklch(48.25% 0.091 102.9)
XYZxyz(10.0469, 11.3711, 2.4761)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686017 #171F68
analogous
#683717 #686017 #486817
triadic
#686017 #176860 #601768
tetradic
#686017 #176837 #171F68 #681748
square
#686017 #176837 #171F68 #681748
split-complementary
#686017 #174868 #371768
monochromatic
#191706 #36320C #686017 #9A8E22 #CCBD2D

Accessibility & contrast

On white

6.41
#686017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#686017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686017
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686017#FFFFFF#000000##FFFFFF
##6860171.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D09
Deuteranopia (green-blind)
#6C601C
Tritanopia (blue-blind)
#705952
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #686017;
/* rgb */ color: rgb(104, 96, 23);
/* oklch */ color: oklch(48.2% 0.091 102.9);
Tailwind
colors: {
  custom: {
    50: '#968c5a',
    500: '#686017',
    950: '#000000',
  },
}
SCSS
$custom: #686017;
$custom-light: #968c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#686017",
  "rgb": {
    "r": 104,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 54.074,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48248,
    "c": 0.09094,
    "h": 102.9
  },
  "luminance": 0.11371
}

Semantic roles & 50–950 ramp

primary
#686017
secondary
#3D469E
accent
#51E741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686017

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

Preview Lab → · Contrast checker → · Palette generator →

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