#686E17#686E17

#686E17 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.6% C 0.106 H 113.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#686E17
RGBrgb(104, 110, 23)
HSLhsl(64, 65%, 26%)
HSVhsv(64, 79%, 43%)
CMYKcmyk(5.5%, 0%, 79.1%, 56.9%)
CIE-LABlab(44.46, -13.72, 44.23)
CIE-LCHlch(44.46, 46.31, 107.24°)
OKLaboklab(51.65% -0.0424 0.0971)
OKLCHoklch(51.65% 0.106 113.6)
XYZxyz(11.4399, 14.1570, 2.9404)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686E17 #1D176E
analogous
#6E4817 #686E17 #3C6E17
triadic
#686E17 #17686E #6E1768
tetradic
#686E17 #176E48 #1D176E #6E173C
square
#686E17 #176E48 #1D176E #6E173C
split-complementary
#686E17 #173C6E #48176E
monochromatic
#181905 #383B0C #686E17 #98A122 #C7D32C

Accessibility & contrast

On white

5.48
#686E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#686E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686E17
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686E17#FFFFFF#000000##FFFFFF
##686E171.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776803
Deuteranopia (green-blind)
#776A1F
Tritanopia (blue-blind)
#6F675E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #686e17;
/* rgb */ color: rgb(104, 110, 23);
/* oklch */ color: oklch(51.6% 0.106 113.6);
Tailwind
colors: {
  custom: {
    50: '#96975c',
    500: '#686e17',
    950: '#000000',
  },
}
SCSS
$custom: #686e17;
$custom-light: #96975c;
$custom-dark: #000000;
JSON
{
  "hex": "#686e17",
  "rgb": {
    "r": 104,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 64.138,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51648,
    "c": 0.10597,
    "h": 113.6
  },
  "luminance": 0.14157
}

Semantic roles & 50–950 ramp

primary
#686E17
secondary
#443DA4
accent
#3FE84B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686E17

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

Preview Lab → · Contrast checker → · Palette generator →

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