#686C12#686C12

#686C12 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.1% C 0.106 H 112.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#686C12
RGBrgb(104, 108, 18)
HSLhsl(63, 71%, 25%)
HSVhsv(63, 83%, 42%)
CMYKcmyk(3.7%, 0%, 83.3%, 57.6%)
CIE-LABlab(43.82, -12.84, 45.32)
CIE-LCHlch(43.82, 47.10, 105.82°)
OKLaboklab(51.13% -0.0404 0.0985)
OKLCHoklch(51.13% 0.106 112.3)
XYZxyz(11.1810, 13.7121, 2.6299)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686C12 #16126C
analogous
#6C4312 #686C12 #3B6C12
triadic
#686C12 #12686C #6C1268
tetradic
#686C12 #126C43 #16126C #6C123B
square
#686C12 #126C43 #16126C #6C123B
split-complementary
#686C12 #123B6C #43126C
monochromatic
#191A04 #353809 #686C12 #9BA01B #CDD523

Accessibility & contrast

On white

5.61
#686C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#686C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686C12
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686C12#FFFFFF#000000##FFFFFF
##686C121.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#75691B
Tritanopia (blue-blind)
#70655C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #686c12;
/* rgb */ color: rgb(104, 108, 18);
/* oklch */ color: oklch(51.1% 0.106 112.3);
Tailwind
colors: {
  custom: {
    50: '#96955a',
    500: '#686c12',
    950: '#000000',
  },
}
SCSS
$custom: #686c12;
$custom-light: #96955a;
$custom-dark: #000000;
JSON
{
  "hex": "#686c12",
  "rgb": {
    "r": 104,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 62.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.51127,
    "c": 0.10642,
    "h": 112.3
  },
  "luminance": 0.13712
}

Semantic roles & 50–950 ramp

primary
#686C12
secondary
#3B36A3
accent
#3AEE42
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686C12

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

Preview Lab → · Contrast checker → · Palette generator →

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