#686716#686716

#686716 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 49.9% C 0.099 H 108.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#686716
RGBrgb(104, 103, 22)
HSLhsl(59, 65%, 25%)
HSVhsv(59, 79%, 41%)
CMYKcmyk(0%, 1%, 78.8%, 59.2%)
CIE-LABlab(42.31, -9.88, 42.60)
CIE-LCHlch(42.31, 43.73, 103.06°)
OKLaboklab(49.93% -0.0318 0.0935)
OKLCHoklch(49.93% 0.099 108.8)
XYZxyz(10.7044, 12.7018, 2.6467)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686716 #161768
analogous
#683E16 #686716 #406816
triadic
#686716 #166867 #671668
tetradic
#686716 #16683E #161768 #681640
square
#686716 #16683E #161768 #681640
split-complementary
#686716 #164068 #3E1668
monochromatic
#191905 #35350B #686716 #9B9921 #CDCB2B

Accessibility & contrast

On white

5.93
#686716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#686716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686716
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686716#FFFFFF#000000##FFFFFF
##6867161.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706205
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#706058
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #686716;
/* rgb */ color: rgb(104, 103, 22);
/* oklch */ color: oklch(49.9% 0.099 108.8);
Tailwind
colors: {
  custom: {
    50: '#96925b',
    500: '#686716',
    950: '#000000',
  },
}
SCSS
$custom: #686716;
$custom-light: #96925b;
$custom-dark: #000000;
JSON
{
  "hex": "#686716",
  "rgb": {
    "r": 104,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 59.268,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.49929,
    "c": 0.09872,
    "h": 108.8
  },
  "luminance": 0.12701
}

Semantic roles & 50–950 ramp

primary
#686716
secondary
#3B3D9F
accent
#42E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686716

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

Preview Lab → · Contrast checker → · Palette generator →

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