#686817#686817

#686817 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.2% C 0.099 H 109.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#686817
RGBrgb(104, 104, 23)
HSLhsl(60, 64%, 25%)
HSVhsv(60, 78%, 41%)
CMYKcmyk(0%, 0%, 77.9%, 59.2%)
CIE-LABlab(42.62, -10.39, 42.52)
CIE-LCHlch(42.62, 43.77, 103.74°)
OKLaboklab(50.18% -0.0331 0.0935)
OKLCHoklch(50.18% 0.099 109.5)
XYZxyz(10.8143, 12.9059, 2.7319)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686817 #171768
analogous
#684017 #686817 #406817
triadic
#686817 #176868 #681768
tetradic
#686817 #176840 #171768 #681740
square
#686817 #176840 #171768 #681740
split-complementary
#686817 #174068 #401768
monochromatic
#191906 #36360C #686817 #9A9A22 #CCCC2D

Accessibility & contrast

On white

5.86
#686817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#686817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686817
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686817#FFFFFF#000000##FFFFFF
##6868171.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716306
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#706159
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #686817;
/* rgb */ color: rgb(104, 104, 23);
/* oklch */ color: oklch(50.2% 0.099 109.5);
Tailwind
colors: {
  custom: {
    50: '#96925b',
    500: '#686817',
    950: '#000000',
  },
}
SCSS
$custom: #686817;
$custom-light: #96925b;
$custom-dark: #000000;
JSON
{
  "hex": "#686817",
  "rgb": {
    "r": 104,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50179,
    "c": 0.09919,
    "h": 109.5
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

primary
#686817
secondary
#3D3D9E
accent
#41E741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #686817

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

Preview Lab → · Contrast checker → · Palette generator →

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