#686C1A#686C1A

#686C1A is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.2% C 0.102 H 112.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#686C1A
RGBrgb(104, 108, 26)
HSLhsl(63, 61%, 26%)
HSVhsv(63, 76%, 42%)
CMYKcmyk(3.7%, 0%, 75.9%, 57.6%)
CIE-LABlab(43.86, -12.47, 42.56)
CIE-LCHlch(43.86, 44.35, 106.33°)
OKLaboklab(51.18% -0.0386 0.0942)
OKLCHoklch(51.18% 0.102 112.3)
XYZxyz(11.2583, 13.7430, 3.0367)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686C1A #1E1A6C
analogous
#6C471A #686C1A #3F6C1A
triadic
#686C1A #1A686C #6C1A68
tetradic
#686C1A #1A6C47 #1E1A6C #6C1A3F
square
#686C1A #1A6C47 #1E1A6C #6C1A3F
split-complementary
#686C1A #1A3F6C #471A6C
monochromatic
#181906 #393B0E #686C1A #989D26 #C6CE33

Accessibility & contrast

On white

5.60
#686C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#686C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686C1A
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686C1A#FFFFFF#000000##FFFFFF
##686C1A1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670A
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#6F655C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #686c1a;
/* rgb */ color: rgb(104, 108, 26);
/* oklch */ color: oklch(51.2% 0.102 112.3);
Tailwind
colors: {
  custom: {
    50: '#96955d',
    500: '#686c1a',
    950: '#000000',
  },
}
SCSS
$custom: #686c1a;
$custom-light: #96955d;
$custom-dark: #000000;
JSON
{
  "hex": "#686c1a",
  "rgb": {
    "r": 104,
    "g": 108,
    "b": 26
  },
  "hsl": {
    "h": 62.927,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51177,
    "c": 0.10177,
    "h": 112.3
  },
  "luminance": 0.13743
}

Semantic roles & 50–950 ramp

primary
#686C1A
secondary
#4541A1
accent
#43E44B
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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