#686216#686216

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

Color values

HEX#686216
RGBrgb(104, 98, 22)
HSLhsl(56, 65%, 25%)
HSVhsv(56, 79%, 41%)
CMYKcmyk(0%, 5.8%, 78.8%, 59.2%)
CIE-LABlab(40.79, -7.03, 41.18)
CIE-LCHlch(40.79, 41.78, 99.69°)
OKLaboklab(48.72% -0.0238 0.0905)
OKLCHoklch(48.72% 0.094 104.7)
XYZxyz(10.2219, 11.7368, 2.4859)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686216 #161C68
analogous
#683916 #686216 #456816
triadic
#686216 #166862 #621668
tetradic
#686216 #166839 #161C68 #681645
square
#686216 #166839 #161C68 #681645
split-complementary
#686216 #164568 #391668
monochromatic
#191805 #35320B #686216 #9B9221 #CDC12B

Accessibility & contrast

On white

6.27
#686216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#686216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686216
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686216#FFFFFF#000000##FFFFFF
##6862161.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #686216;
/* rgb */ color: rgb(104, 98, 22);
/* oklch */ color: oklch(48.7% 0.094 104.7);
Tailwind
colors: {
  custom: {
    50: '#968e5a',
    500: '#686216',
    950: '#000000',
  },
}
SCSS
$custom: #686216;
$custom-light: #968e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#686216",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 55.61,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4872,
    "c": 0.09353,
    "h": 104.7
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#686216
secondary
#3B439F
accent
#4CE840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686216

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

Preview Lab → · Contrast checker → · Palette generator →

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