#686718#686718

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

Color values

HEX#686718
RGBrgb(104, 103, 24)
HSLhsl(59, 63%, 25%)
HSVhsv(59, 77%, 41%)
CMYKcmyk(0%, 1%, 76.9%, 59.2%)
CIE-LABlab(42.32, -9.78, 41.86)
CIE-LCHlch(42.32, 42.99, 103.15°)
OKLaboklab(49.94% -0.0313 0.0923)
OKLCHoklch(49.94% 0.097 108.7)
XYZxyz(10.7244, 12.7098, 2.7523)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686718 #181968
analogous
#683F18 #686718 #416818
triadic
#686718 #186867 #671868
tetradic
#686718 #18683F #181968 #681841
square
#686718 #18683F #181968 #681841
split-complementary
#686718 #184168 #3F1868
monochromatic
#191906 #36360D #686718 #9A9823 #CBC92F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##686718#FFFFFF#000000##FFFFFF
##6867181.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)
#706208
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#706058
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #686718;
/* rgb */ color: rgb(104, 103, 24);
/* oklch */ color: oklch(49.9% 0.097 108.7);
Tailwind
colors: {
  custom: {
    50: '#96925c',
    500: '#686718',
    950: '#000000',
  },
}
SCSS
$custom: #686718;
$custom-light: #96925c;
$custom-dark: #000000;
JSON
{
  "hex": "#686718",
  "rgb": {
    "r": 104,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 59.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49942,
    "c": 0.09746,
    "h": 108.7
  },
  "luminance": 0.12709
}

Semantic roles & 50–950 ramp

primary
#686718
secondary
#3E3F9E
accent
#44E642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686718

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

Preview Lab → · Contrast checker → · Palette generator →

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