#686D18#686D18

#686D18 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.4% C 0.104 H 112.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#686D18
RGBrgb(104, 109, 24)
HSLhsl(64, 64%, 26%)
HSVhsv(64, 78%, 43%)
CMYKcmyk(4.6%, 0%, 78%, 57.3%)
CIE-LABlab(44.16, -13.13, 43.59)
CIE-LCHlch(44.16, 45.52, 106.76°)
OKLaboklab(51.41% -0.0406 0.096)
OKLCHoklch(51.41% 0.104 112.9)
XYZxyz(11.3428, 13.9465, 2.9584)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686D18 #1D186D
analogous
#6D4718 #686D18 #3D6D18
triadic
#686D18 #18686D #6D1868
tetradic
#686D18 #186D47 #1D186D #6D183D
square
#686D18 #186D47 #1D186D #6D183D
split-complementary
#686D18 #183D6D #47186D
monochromatic
#181906 #383B0D #686D18 #989F23 #C7D12E

Accessibility & contrast

On white

5.54
#686D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#686D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686D18
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686D18#FFFFFF#000000##FFFFFF
##686D181.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766706
Deuteranopia (green-blind)
#76691F
Tritanopia (blue-blind)
#6F665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #686d18;
/* rgb */ color: rgb(104, 109, 24);
/* oklch */ color: oklch(51.4% 0.104 112.9);
Tailwind
colors: {
  custom: {
    50: '#96965c',
    500: '#686d18',
    950: '#000000',
  },
}
SCSS
$custom: #686d18;
$custom-light: #96965c;
$custom-dark: #000000;
JSON
{
  "hex": "#686d18",
  "rgb": {
    "r": 104,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 63.529,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51409,
    "c": 0.10421,
    "h": 112.9
  },
  "luminance": 0.13946
}

Semantic roles & 50–950 ramp

primary
#686D18
secondary
#443EA3
accent
#41E74B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686D18

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

Preview Lab → · Contrast checker → · Palette generator →

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