#686318#686318

#686318 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 49.0% C 0.093 H 105.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#686318
RGBrgb(104, 99, 24)
HSLhsl(56, 63%, 25%)
HSVhsv(56, 77%, 41%)
CMYKcmyk(0%, 4.8%, 76.9%, 59.2%)
CIE-LABlab(41.11, -7.50, 40.70)
CIE-LCHlch(41.11, 41.39, 100.45°)
OKLaboklab(48.98% -0.0249 0.0899)
OKLCHoklch(48.98% 0.093 105.5)
XYZxyz(10.3361, 11.9331, 2.6228)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686318 #181D68
analogous
#683B18 #686318 #456818
triadic
#686318 #186863 #631868
tetradic
#686318 #18683B #181D68 #681845
square
#686318 #18683B #181D68 #681845
split-complementary
#686318 #184568 #3B1868
monochromatic
#191806 #36340D #686318 #9A9223 #CBC22F

Accessibility & contrast

On white

6.20
#686318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#686318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686318
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686318#FFFFFF#000000##FFFFFF
##6863181.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0A
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#705C54
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #686318;
/* rgb */ color: rgb(104, 99, 24);
/* oklch */ color: oklch(49.0% 0.093 105.5);
Tailwind
colors: {
  custom: {
    50: '#968f5b',
    500: '#686318',
    950: '#000000',
  },
}
SCSS
$custom: #686318;
$custom-light: #968f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#686318",
  "rgb": {
    "r": 104,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 56.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48975,
    "c": 0.09325,
    "h": 105.5
  },
  "luminance": 0.11933
}

Semantic roles & 50–950 ramp

primary
#686318
secondary
#3E449E
accent
#4CE642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686318

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

Preview Lab → · Contrast checker → · Palette generator →

#686318 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva