#686C17#686C17

#686C17 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.2% C 0.104 H 112.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#686C17
RGBrgb(104, 108, 23)
HSLhsl(63, 65%, 26%)
HSVhsv(63, 79%, 42%)
CMYKcmyk(3.7%, 0%, 78.7%, 57.6%)
CIE-LABlab(43.84, -12.62, 43.66)
CIE-LCHlch(43.84, 45.45, 106.13°)
OKLaboklab(51.16% -0.0393 0.0959)
OKLCHoklch(51.16% 0.104 112.3)
XYZxyz(11.2265, 13.7303, 2.8693)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686C17 #1B176C
analogous
#6C4517 #686C17 #3D6C17
triadic
#686C17 #17686C #6C1768
tetradic
#686C17 #176C45 #1B176C #6C173D
square
#686C17 #176C45 #1B176C #6C173D
split-complementary
#686C17 #173D6C #45176C
monochromatic
#181905 #373A0C #686C17 #999E22 #C9D12C

Accessibility & contrast

On white

5.61
#686C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#686C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686C17
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686C17#FFFFFF#000000##FFFFFF
##686C171.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756704
Deuteranopia (green-blind)
#75691E
Tritanopia (blue-blind)
#70655C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #686c17;
/* rgb */ color: rgb(104, 108, 23);
/* oklch */ color: oklch(51.2% 0.104 112.3);
Tailwind
colors: {
  custom: {
    50: '#96955c',
    500: '#686c17',
    950: '#000000',
  },
}
SCSS
$custom: #686c17;
$custom-light: #96955c;
$custom-dark: #000000;
JSON
{
  "hex": "#686c17",
  "rgb": {
    "r": 104,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 62.824,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.51157,
    "c": 0.10367,
    "h": 112.3
  },
  "luminance": 0.1373
}

Semantic roles & 50–950 ramp

primary
#686C17
secondary
#423DA2
accent
#40E848
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686C17

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

Preview Lab → · Contrast checker → · Palette generator →

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