#686C18#686C18

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

Color values

HEX#686C18
RGBrgb(104, 108, 24)
HSLhsl(63, 64%, 26%)
HSVhsv(63, 78%, 42%)
CMYKcmyk(3.7%, 0%, 77.8%, 57.6%)
CIE-LABlab(43.85, -12.57, 43.30)
CIE-LCHlch(43.85, 45.09, 106.19°)
OKLaboklab(51.16% -0.0391 0.0954)
OKLCHoklch(51.16% 0.103 112.3)
XYZxyz(11.2367, 13.7344, 2.9231)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686C18 #1C186C
analogous
#6C4618 #686C18 #3E6C18
triadic
#686C18 #18686C #6C1868
tetradic
#686C18 #186C46 #1C186C #6C183E
square
#686C18 #186C46 #1C186C #6C183E
split-complementary
#686C18 #183E6C #46186C
monochromatic
#181906 #383A0D #686C18 #989E23 #C8D02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##686C18#FFFFFF#000000##FFFFFF
##686C181.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)
#756706
Deuteranopia (green-blind)
#75691F
Tritanopia (blue-blind)
#70655C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #686c18;
/* rgb */ color: rgb(104, 108, 24);
/* oklch */ color: oklch(51.2% 0.103 112.3);
Tailwind
colors: {
  custom: {
    50: '#96955c',
    500: '#686c18',
    950: '#000000',
  },
}
SCSS
$custom: #686c18;
$custom-light: #96955c;
$custom-dark: #000000;
JSON
{
  "hex": "#686c18",
  "rgb": {
    "r": 104,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 62.857,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51163,
    "c": 0.10306,
    "h": 112.3
  },
  "luminance": 0.13734
}

Semantic roles & 50–950 ramp

primary
#686C18
secondary
#433EA2
accent
#41E749
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686C18

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

Preview Lab → · Contrast checker → · Palette generator →

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