#686712#686712

#686712 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 49.9% C 0.101 H 108.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#686712
RGBrgb(104, 103, 18)
HSLhsl(59, 70%, 24%)
HSVhsv(59, 83%, 41%)
CMYKcmyk(0%, 1%, 82.7%, 59.2%)
CIE-LABlab(42.29, -10.05, 43.96)
CIE-LCHlch(42.29, 45.10, 102.88°)
OKLaboklab(49.9% -0.0326 0.0956)
OKLCHoklch(49.9% 0.101 108.9)
XYZxyz(10.6688, 12.6876, 2.4591)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686712 #121368
analogous
#683C12 #686712 #3E6812
triadic
#686712 #126867 #671268
tetradic
#686712 #12683C #121368 #68123E
square
#686712 #12683C #121368 #68123E
split-complementary
#686712 #123E68 #3C1268
monochromatic
#1A1A05 #343309 #686712 #9C9B1B #D0CE24

Accessibility & contrast

On white

5.94
#686712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#686712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686712
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686712#FFFFFF#000000##FFFFFF
##6867121.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#71651A
Tritanopia (blue-blind)
#706057
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #686712;
/* rgb */ color: rgb(104, 103, 18);
/* oklch */ color: oklch(49.9% 0.101 108.9);
Tailwind
colors: {
  custom: {
    50: '#969259',
    500: '#686712',
    950: '#000000',
  },
}
SCSS
$custom: #686712;
$custom-light: #969259;
$custom-dark: #000000;
JSON
{
  "hex": "#686712",
  "rgb": {
    "r": 104,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 59.302,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.49904,
    "c": 0.10098,
    "h": 108.9
  },
  "luminance": 0.12687
}

Semantic roles & 50–950 ramp

primary
#686712
secondary
#3637A0
accent
#3DED3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686712

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

Preview Lab → · Contrast checker → · Palette generator →

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