#686B17#686B17

#686B17 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.9% C 0.103 H 111.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#686B17
RGBrgb(104, 107, 23)
HSLhsl(62, 65%, 25%)
HSVhsv(62, 79%, 42%)
CMYKcmyk(2.8%, 0%, 78.5%, 58%)
CIE-LABlab(43.54, -12.07, 43.38)
CIE-LCHlch(43.54, 45.03, 105.55°)
OKLaboklab(50.91% -0.0378 0.0953)
OKLCHoklch(50.91% 0.103 111.6)
XYZxyz(11.1216, 13.5206, 2.8343)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686B17 #1A176B
analogous
#6B4417 #686B17 #3E6B17
triadic
#686B17 #17686B #6B1768
tetradic
#686B17 #176B44 #1A176B #6B173E
square
#686B17 #176B44 #1A176B #6B173E
split-complementary
#686B17 #173E6B #44176B
monochromatic
#181905 #37390C #686B17 #999D22 #CAD02D

Accessibility & contrast

On white

5.67
#686B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#686B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686B17
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686B17#FFFFFF#000000##FFFFFF
##686B171.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746605
Deuteranopia (green-blind)
#74681E
Tritanopia (blue-blind)
#70645B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #686b17;
/* rgb */ color: rgb(104, 107, 23);
/* oklch */ color: oklch(50.9% 0.103 111.6);
Tailwind
colors: {
  custom: {
    50: '#96955c',
    500: '#686b17',
    950: '#000000',
  },
}
SCSS
$custom: #686b17;
$custom-light: #96955c;
$custom-dark: #000000;
JSON
{
  "hex": "#686b17",
  "rgb": {
    "r": 104,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 62.143,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50911,
    "c": 0.10253,
    "h": 111.6
  },
  "luminance": 0.1352
}

Semantic roles & 50–950 ramp

primary
#686B17
secondary
#403DA1
accent
#40E846
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686B17

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

Preview Lab → · Contrast checker → · Palette generator →

#686B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva