#686211#686211

#686211 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.7% C 0.096 H 105.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#686211
RGBrgb(104, 98, 17)
HSLhsl(56, 72%, 24%)
HSVhsv(56, 84%, 41%)
CMYKcmyk(0%, 5.8%, 83.7%, 59.2%)
CIE-LABlab(40.77, -7.25, 42.94)
CIE-LCHlch(40.77, 43.55, 99.58°)
OKLaboklab(48.69% -0.0249 0.0932)
OKLCHoklch(48.69% 0.096 105)
XYZxyz(10.1782, 11.7193, 2.2561)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686211 #111768
analogous
#683611 #686211 #426811
triadic
#686211 #116862 #621168
tetradic
#686211 #116836 #111768 #681142
square
#686211 #116836 #111768 #681142
split-complementary
#686211 #114268 #361168
monochromatic
#1A1904 #333008 #686211 #9D941A #D1C522

Accessibility & contrast

On white

6.28
#686211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#686211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686211
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686211#FFFFFF#000000##FFFFFF
##6862111.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#6E6218
Tritanopia (blue-blind)
#705B53
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #686211;
/* rgb */ color: rgb(104, 98, 17);
/* oklch */ color: oklch(48.7% 0.096 105.0);
Tailwind
colors: {
  custom: {
    50: '#968e58',
    500: '#686211',
    950: '#000000',
  },
}
SCSS
$custom: #686211;
$custom-light: #968e58;
$custom-dark: #000000;
JSON
{
  "hex": "#686211",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 55.862,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48689,
    "c": 0.09643,
    "h": 105
  },
  "luminance": 0.11719
}

Semantic roles & 50–950 ramp

primary
#686211
secondary
#353CA0
accent
#46EF39
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686211

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

Preview Lab → · Contrast checker → · Palette generator →

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