#686F15#686F15

#686F15 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 51.9% C 0.108 H 114.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#686F15
RGBrgb(104, 111, 21)
HSLhsl(65, 68%, 26%)
HSVhsv(65, 81%, 44%)
CMYKcmyk(6.3%, 0%, 81.1%, 56.5%)
CIE-LABlab(44.75, -14.36, 45.19)
CIE-LCHlch(44.75, 47.42, 107.63°)
OKLaboklab(51.88% -0.0443 0.0988)
OKLCHoklch(51.88% 0.108 114.2)
XYZxyz(11.5291, 14.3663, 2.8750)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686F15 #1C156F
analogous
#6F4915 #686F15 #3B6F15
triadic
#686F15 #15686F #6F1568
tetradic
#686F15 #156F49 #1C156F #6F153B
square
#686F15 #156F49 #1C156F #6F153B
split-complementary
#686F15 #153B6F #49156F
monochromatic
#181A05 #383C0B #686F15 #98A21F #C8D628

Accessibility & contrast

On white

5.42
#686F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#686F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686F15
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686F15#FFFFFF#000000##FFFFFF
##686F151.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#776B1D
Tritanopia (blue-blind)
#6F685E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #686f15;
/* rgb */ color: rgb(104, 111, 21);
/* oklch */ color: oklch(51.9% 0.108 114.2);
Tailwind
colors: {
  custom: {
    50: '#96985b',
    500: '#686f15',
    950: '#000000',
  },
}
SCSS
$custom: #686f15;
$custom-light: #96985b;
$custom-dark: #000000;
JSON
{
  "hex": "#686f15",
  "rgb": {
    "r": 104,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 64.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51882,
    "c": 0.10827,
    "h": 114.2
  },
  "luminance": 0.14366
}

Semantic roles & 50–950 ramp

primary
#686F15
secondary
#433AA5
accent
#3DEB4A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686F15

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

Preview Lab → · Contrast checker → · Palette generator →

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