#686A16#686A16

#686A16 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.7% C 0.102 H 110.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#686A16
RGBrgb(104, 106, 22)
HSLhsl(61, 66%, 25%)
HSVhsv(61, 79%, 42%)
CMYKcmyk(1.9%, 0%, 79.2%, 58.4%)
CIE-LABlab(43.23, -11.56, 43.45)
CIE-LCHlch(43.23, 44.96, 104.90°)
OKLaboklab(50.66% -0.0365 0.0953)
OKLCHoklch(50.66% 0.102 110.9)
XYZxyz(11.0082, 13.3094, 2.7480)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686A16 #18166A
analogous
#6A4216 #686A16 #3E6A16
triadic
#686A16 #16686A #6A1668
tetradic
#686A16 #166A42 #18166A #6A163E
square
#686A16 #166A42 #18166A #6A163E
split-complementary
#686A16 #163E6A #42166A
monochromatic
#191905 #36370B #686A16 #9A9D21 #CBCF2B

Accessibility & contrast

On white

5.73
#686A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#686A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686A16
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686A16#FFFFFF#000000##FFFFFF
##686A161.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736503
Deuteranopia (green-blind)
#74671D
Tritanopia (blue-blind)
#70635A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #686a16;
/* rgb */ color: rgb(104, 106, 22);
/* oklch */ color: oklch(50.7% 0.102 110.9);
Tailwind
colors: {
  custom: {
    50: '#96945b',
    500: '#686a16',
    950: '#000000',
  },
}
SCSS
$custom: #686a16;
$custom-light: #96945b;
$custom-dark: #000000;
JSON
{
  "hex": "#686a16",
  "rgb": {
    "r": 104,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 61.429,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.5066,
    "c": 0.10201,
    "h": 110.9
  },
  "luminance": 0.13309
}

Semantic roles & 50–950 ramp

primary
#686A16
secondary
#3E3BA0
accent
#3FE943
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686A16

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

Preview Lab → · Contrast checker → · Palette generator →

#686A16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva