#686F12#686F12

#686F12 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 51.9% C 0.110 H 114.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#686F12
RGBrgb(104, 111, 18)
HSLhsl(65, 72%, 25%)
HSVhsv(65, 84%, 44%)
CMYKcmyk(6.3%, 0%, 83.8%, 56.5%)
CIE-LABlab(44.74, -14.49, 46.13)
CIE-LCHlch(44.74, 48.35, 107.43°)
OKLaboklab(51.87% -0.0449 0.1002)
OKLCHoklch(51.87% 0.11 114.1)
XYZxyz(11.5029, 14.3558, 2.7372)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686F12 #19126F
analogous
#6F4712 #686F12 #396F12
triadic
#686F12 #12686F #6F1268
tetradic
#686F12 #126F47 #19126F #6F1239
square
#686F12 #126F47 #19126F #6F1239
split-complementary
#686F12 #12396F #47126F
monochromatic
#191A04 #373A09 #686F12 #99A41B #CBD823

Accessibility & contrast

On white

5.42
#686F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#686F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686F12
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686F12#FFFFFF#000000##FFFFFF
##686F121.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#786B1B
Tritanopia (blue-blind)
#70685E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #686f12;
/* rgb */ color: rgb(104, 111, 18);
/* oklch */ color: oklch(51.9% 0.110 114.1);
Tailwind
colors: {
  custom: {
    50: '#96985a',
    500: '#686f12',
    950: '#000000',
  },
}
SCSS
$custom: #686f12;
$custom-light: #96985a;
$custom-dark: #000000;
JSON
{
  "hex": "#686f12",
  "rgb": {
    "r": 104,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 64.516,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51866,
    "c": 0.10981,
    "h": 114.1
  },
  "luminance": 0.14356
}

Semantic roles & 50–950 ramp

primary
#686F12
secondary
#3F37A6
accent
#39EF47
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686F12

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

Preview Lab → · Contrast checker → · Palette generator →

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