#686A17#686A17

#686A17 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.7% C 0.101 H 110.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#686A17
RGBrgb(104, 106, 23)
HSLhsl(61, 64%, 25%)
HSVhsv(61, 78%, 42%)
CMYKcmyk(1.9%, 0%, 78.3%, 58.4%)
CIE-LABlab(43.23, -11.51, 43.09)
CIE-LCHlch(43.23, 44.60, 104.96°)
OKLaboklab(50.67% -0.0362 0.0947)
OKLCHoklch(50.67% 0.101 110.9)
XYZxyz(11.0180, 13.3133, 2.7998)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686A17 #19176A
analogous
#6A4217 #686A17 #3E6A17
triadic
#686A17 #17686A #6A1768
tetradic
#686A17 #176A42 #19176A #6A173E
square
#686A17 #176A42 #19176A #6A173E
split-complementary
#686A17 #173E6A #42176A
monochromatic
#191905 #37380C #686A17 #999C22 #CBCF2D

Accessibility & contrast

On white

5.73
#686A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#686A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686A17
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686A17#FFFFFF#000000##FFFFFF
##686A171.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736505
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#70635A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #686a17;
/* rgb */ color: rgb(104, 106, 23);
/* oklch */ color: oklch(50.7% 0.101 110.9);
Tailwind
colors: {
  custom: {
    50: '#96945b',
    500: '#686a17',
    950: '#000000',
  },
}
SCSS
$custom: #686a17;
$custom-light: #96945b;
$custom-dark: #000000;
JSON
{
  "hex": "#686a17",
  "rgb": {
    "r": 104,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 61.446,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50667,
    "c": 0.1014,
    "h": 110.9
  },
  "luminance": 0.13313
}

Semantic roles & 50–950 ramp

primary
#686A17
secondary
#3F3DA0
accent
#40E744
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686A17

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

Preview Lab → · Contrast checker → · Palette generator →

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