#686816#686816

#686816 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.2% C 0.100 H 109.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#686816
RGBrgb(104, 104, 22)
HSLhsl(60, 65%, 25%)
HSVhsv(60, 79%, 41%)
CMYKcmyk(0%, 0%, 78.8%, 59.2%)
CIE-LABlab(42.62, -10.44, 42.88)
CIE-LCHlch(42.62, 44.13, 103.68°)
OKLaboklab(50.17% -0.0333 0.0941)
OKLCHoklch(50.17% 0.1 109.5)
XYZxyz(10.8045, 12.9019, 2.6801)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686816 #161668
analogous
#683F16 #686816 #3F6816
triadic
#686816 #166868 #681668
tetradic
#686816 #16683F #161668 #68163F
square
#686816 #16683F #161668 #68163F
split-complementary
#686816 #163F68 #3F1668
monochromatic
#191905 #35350B #686816 #9B9B21 #CDCD2B

Accessibility & contrast

On white

5.87
#686816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#686816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686816
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686816#FFFFFF#000000##FFFFFF
##6868161.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716304
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#706159
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #686816;
/* rgb */ color: rgb(104, 104, 22);
/* oklch */ color: oklch(50.2% 0.100 109.5);
Tailwind
colors: {
  custom: {
    50: '#96925b',
    500: '#686816',
    950: '#000000',
  },
}
SCSS
$custom: #686816;
$custom-light: #96925b;
$custom-dark: #000000;
JSON
{
  "hex": "#686816",
  "rgb": {
    "r": 104,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.50172,
    "c": 0.0998,
    "h": 109.5
  },
  "luminance": 0.12902
}

Semantic roles & 50–950 ramp

primary
#686816
secondary
#3B3B9F
accent
#40E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #686816

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

Preview Lab → · Contrast checker → · Palette generator →

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