#686D12#686D12

#686D12 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.4% C 0.108 H 112.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#686D12
RGBrgb(104, 109, 18)
HSLhsl(63, 72%, 25%)
HSVhsv(63, 83%, 43%)
CMYKcmyk(4.6%, 0%, 83.5%, 57.3%)
CIE-LABlab(44.12, -13.39, 45.59)
CIE-LCHlch(44.12, 47.52, 106.37°)
OKLaboklab(51.37% -0.0419 0.0991)
OKLCHoklch(51.37% 0.108 112.9)
XYZxyz(11.2871, 13.9243, 2.6652)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686D12 #17126D
analogous
#6D4512 #686D12 #3A6D12
triadic
#686D12 #12686D #6D1268
tetradic
#686D12 #126D45 #17126D #6D123A
square
#686D12 #126D45 #17126D #6D123A
split-complementary
#686D12 #123A6D #45126D
monochromatic
#191A04 #363809 #686D12 #9AA21B #CCD623

Accessibility & contrast

On white

5.55
#686D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#686D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686D12
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686D12#FFFFFF#000000##FFFFFF
##686D121.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#76691B
Tritanopia (blue-blind)
#70665C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #686d12;
/* rgb */ color: rgb(104, 109, 18);
/* oklch */ color: oklch(51.4% 0.108 112.9);
Tailwind
colors: {
  custom: {
    50: '#96965a',
    500: '#686d12',
    950: '#000000',
  },
}
SCSS
$custom: #686d12;
$custom-light: #96965a;
$custom-dark: #000000;
JSON
{
  "hex": "#686d12",
  "rgb": {
    "r": 104,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 63.297,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.51373,
    "c": 0.10754,
    "h": 112.9
  },
  "luminance": 0.13924
}

Semantic roles & 50–950 ramp

primary
#686D12
secondary
#3D37A4
accent
#39EE43
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686D12

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

Preview Lab → · Contrast checker → · Palette generator →

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