#686312#686312

#686312 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.9% C 0.097 H 105.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#686312
RGBrgb(104, 99, 18)
HSLhsl(57, 70%, 24%)
HSVhsv(57, 83%, 41%)
CMYKcmyk(0%, 4.8%, 82.7%, 59.2%)
CIE-LABlab(41.07, -7.78, 42.88)
CIE-LCHlch(41.07, 43.58, 100.28°)
OKLaboklab(48.94% -0.0263 0.0932)
OKLCHoklch(48.94% 0.097 105.7)
XYZxyz(10.2804, 11.9108, 2.3296)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686312 #121768
analogous
#683812 #686312 #426812
triadic
#686312 #126863 #631268
tetradic
#686312 #126838 #121768 #681242
square
#686312 #126838 #121768 #681242
split-complementary
#686312 #124268 #381268
monochromatic
#1A1905 #343109 #686312 #9C951B #D0C624

Accessibility & contrast

On white

6.21
#686312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#686312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686312
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686312#FFFFFF#000000##FFFFFF
##6863121.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#6E6219
Tritanopia (blue-blind)
#705C54
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #686312;
/* rgb */ color: rgb(104, 99, 18);
/* oklch */ color: oklch(48.9% 0.097 105.7);
Tailwind
colors: {
  custom: {
    50: '#968f58',
    500: '#686312',
    950: '#000000',
  },
}
SCSS
$custom: #686312;
$custom-light: #968f58;
$custom-dark: #000000;
JSON
{
  "hex": "#686312",
  "rgb": {
    "r": 104,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 56.512,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48935,
    "c": 0.09688,
    "h": 105.7
  },
  "luminance": 0.1191
}

Semantic roles & 50–950 ramp

primary
#686312
secondary
#363CA0
accent
#45ED3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686312

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

Preview Lab → · Contrast checker → · Palette generator →

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