#686311#686311

#686311 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.9% C 0.097 H 105.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#686311
RGBrgb(104, 99, 17)
HSLhsl(57, 72%, 24%)
HSVhsv(57, 84%, 41%)
CMYKcmyk(0%, 4.8%, 83.7%, 59.2%)
CIE-LABlab(41.07, -7.82, 43.21)
CIE-LCHlch(41.07, 43.91, 100.26°)
OKLaboklab(48.93% -0.0265 0.0937)
OKLCHoklch(48.93% 0.097 105.8)
XYZxyz(10.2724, 11.9076, 2.2875)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686311 #111668
analogous
#683711 #686311 #416811
triadic
#686311 #116863 #631168
tetradic
#686311 #116837 #111668 #681141
square
#686311 #116837 #111668 #681141
split-complementary
#686311 #114168 #371168
monochromatic
#1A1904 #333108 #686311 #9D951A #D1C722

Accessibility & contrast

On white

6.21
#686311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#686311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686311
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686311#FFFFFF#000000##FFFFFF
##6863111.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #686311;
/* rgb */ color: rgb(104, 99, 17);
/* oklch */ color: oklch(48.9% 0.097 105.8);
Tailwind
colors: {
  custom: {
    50: '#968f58',
    500: '#686311',
    950: '#000000',
  },
}
SCSS
$custom: #686311;
$custom-light: #968f58;
$custom-dark: #000000;
JSON
{
  "hex": "#686311",
  "rgb": {
    "r": 104,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 56.552,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4893,
    "c": 0.0974,
    "h": 105.8
  },
  "luminance": 0.11907
}

Semantic roles & 50–950 ramp

primary
#686311
secondary
#353BA0
accent
#44EF39
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686311

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

Preview Lab → · Contrast checker → · Palette generator →

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