#686A12#686A12

#686A12 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.6% C 0.104 H 111.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#686A12
RGBrgb(104, 106, 18)
HSLhsl(61, 71%, 24%)
HSVhsv(61, 83%, 42%)
CMYKcmyk(1.9%, 0%, 83%, 58.4%)
CIE-LABlab(43.20, -11.73, 44.78)
CIE-LCHlch(43.20, 46.29, 104.68°)
OKLaboklab(50.64% -0.0373 0.0973)
OKLCHoklch(50.64% 0.104 111)
XYZxyz(10.9725, 13.2951, 2.5604)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686A12 #14126A
analogous
#6A4012 #686A12 #3C6A12
triadic
#686A12 #12686A #6A1268
tetradic
#686A12 #126A40 #14126A #6A123C
square
#686A12 #126A40 #14126A #6A123C
split-complementary
#686A12 #123C6A #40126A
monochromatic
#1A1A04 #353609 #686A12 #9B9E1B #CFD324

Accessibility & contrast

On white

5.74
#686A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #686A12
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686A12#FFFFFF#000000##FFFFFF
##686A121.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #686a12;
/* rgb */ color: rgb(104, 106, 18);
/* oklch */ color: oklch(50.6% 0.104 111.0);
Tailwind
colors: {
  custom: {
    50: '#969459',
    500: '#686a12',
    950: '#000000',
  },
}
SCSS
$custom: #686a12;
$custom-light: #969459;
$custom-dark: #000000;
JSON
{
  "hex": "#686a12",
  "rgb": {
    "r": 104,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 61.364,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.10421,
    "h": 111
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

primary
#686A12
secondary
#3936A2
accent
#3AEE3E
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686A12

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

Preview Lab → · Contrast checker → · Palette generator →

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