#686F17#686F17

#686F17 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 51.9% C 0.107 H 114.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#686F17
RGBrgb(104, 111, 23)
HSLhsl(65, 66%, 26%)
HSVhsv(65, 79%, 44%)
CMYKcmyk(6.3%, 0%, 79.3%, 56.5%)
CIE-LABlab(44.76, -14.27, 44.52)
CIE-LCHlch(44.76, 46.75, 107.77°)
OKLaboklab(51.89% -0.0439 0.0977)
OKLCHoklch(51.89% 0.107 114.2)
XYZxyz(11.5484, 14.3740, 2.9766)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686F17 #1E176F
analogous
#6F4A17 #686F17 #3C6F17
triadic
#686F17 #17686F #6F1768
tetradic
#686F17 #176F4A #1E176F #6F173C
square
#686F17 #176F4A #1E176F #6F173C
split-complementary
#686F17 #173C6F #4A176F
monochromatic
#181905 #393C0C #686F17 #98A222 #C6D32D

Accessibility & contrast

On white

5.42
#686F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#686F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686F17
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686F17#FFFFFF#000000##FFFFFF
##686F171.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786903
Deuteranopia (green-blind)
#776B1F
Tritanopia (blue-blind)
#6F685E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #686f17;
/* rgb */ color: rgb(104, 111, 23);
/* oklch */ color: oklch(51.9% 0.107 114.2);
Tailwind
colors: {
  custom: {
    50: '#96985c',
    500: '#686f17',
    950: '#000000',
  },
}
SCSS
$custom: #686f17;
$custom-light: #96985c;
$custom-dark: #000000;
JSON
{
  "hex": "#686f17",
  "rgb": {
    "r": 104,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 64.773,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51894,
    "c": 0.10714,
    "h": 114.2
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#686F17
secondary
#453DA5
accent
#3FE94D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686F17

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

Preview Lab → · Contrast checker → · Palette generator →

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