#686917#686917

#686917 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.4% C 0.100 H 110.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#686917
RGBrgb(104, 105, 23)
HSLhsl(61, 64%, 25%)
HSVhsv(61, 78%, 41%)
CMYKcmyk(1%, 0%, 78.1%, 58.8%)
CIE-LABlab(42.93, -10.96, 42.81)
CIE-LCHlch(42.93, 44.19, 104.36°)
OKLaboklab(50.42% -0.0347 0.0941)
OKLCHoklch(50.42% 0.1 110.2)
XYZxyz(10.9155, 13.1084, 2.7656)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686917 #181769
analogous
#694117 #686917 #3F6917
triadic
#686917 #176869 #691768
tetradic
#686917 #176941 #181769 #69173F
square
#686917 #176941 #181769 #69173F
split-complementary
#686917 #173F69 #411769
monochromatic
#191905 #36370C #686917 #9A9B22 #CBCD2D

Accessibility & contrast

On white

5.80
#686917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#686917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686917
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686917#FFFFFF#000000##FFFFFF
##6869171.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#73661E
Tritanopia (blue-blind)
#706259
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #686917;
/* rgb */ color: rgb(104, 105, 23);
/* oklch */ color: oklch(50.4% 0.100 110.2);
Tailwind
colors: {
  custom: {
    50: '#96935b',
    500: '#686917',
    950: '#000000',
  },
}
SCSS
$custom: #686917;
$custom-light: #96935b;
$custom-dark: #000000;
JSON
{
  "hex": "#686917",
  "rgb": {
    "r": 104,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 60.732,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50422,
    "c": 0.10029,
    "h": 110.2
  },
  "luminance": 0.13108
}

Semantic roles & 50–950 ramp

primary
#686917
secondary
#3E3D9F
accent
#41E743
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686917

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

Preview Lab → · Contrast checker → · Palette generator →

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