#686512#686512

#686512 is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.4% C 0.099 H 107.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#686512
RGBrgb(104, 101, 18)
HSLhsl(58, 70%, 24%)
HSVhsv(58, 83%, 41%)
CMYKcmyk(0%, 2.9%, 82.7%, 59.2%)
CIE-LABlab(41.68, -8.92, 43.42)
CIE-LCHlch(41.68, 44.33, 101.61°)
OKLaboklab(49.42% -0.0295 0.0944)
OKLCHoklch(49.42% 0.099 107.3)
XYZxyz(10.4722, 12.2945, 2.3936)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686512 #121568
analogous
#683A12 #686512 #406812
triadic
#686512 #126865 #651268
tetradic
#686512 #12683A #121568 #681240
square
#686512 #12683A #121568 #681240
split-complementary
#686512 #124068 #3A1268
monochromatic
#1A1905 #343209 #686512 #9C981B #D0CA24

Accessibility & contrast

On white

6.07
#686512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#686512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686512
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686512#FFFFFF#000000##FFFFFF
##6865121.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#706419
Tritanopia (blue-blind)
#705E56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #686512;
/* rgb */ color: rgb(104, 101, 18);
/* oklch */ color: oklch(49.4% 0.099 107.3);
Tailwind
colors: {
  custom: {
    50: '#969058',
    500: '#686512',
    950: '#000000',
  },
}
SCSS
$custom: #686512;
$custom-light: #969058;
$custom-dark: #000000;
JSON
{
  "hex": "#686512",
  "rgb": {
    "r": 104,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 57.907,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.09889,
    "h": 107.3
  },
  "luminance": 0.12294
}

Semantic roles & 50–950 ramp

primary
#686512
secondary
#363AA0
accent
#41ED3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686512

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

Preview Lab → · Contrast checker → · Palette generator →

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