#686812#686812

#686812 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.1% C 0.102 H 109.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#686812
RGBrgb(104, 104, 18)
HSLhsl(60, 70%, 24%)
HSVhsv(60, 83%, 41%)
CMYKcmyk(0%, 0%, 82.7%, 59.2%)
CIE-LABlab(42.59, -10.62, 44.24)
CIE-LCHlch(42.59, 45.49, 103.49°)
OKLaboklab(50.15% -0.0342 0.0961)
OKLCHoklch(50.15% 0.102 109.6)
XYZxyz(10.7688, 12.8877, 2.4925)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686812 #121268
analogous
#683D12 #686812 #3D6812
triadic
#686812 #126868 #681268
tetradic
#686812 #12683D #121268 #68123D
square
#686812 #12683D #121268 #68123D
split-complementary
#686812 #123D68 #3D1268
monochromatic
#1A1A05 #343409 #686812 #9C9C1B #D0D024

Accessibility & contrast

On white

5.87
#686812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#686812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686812
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686812#FFFFFF#000000##FFFFFF
##6868121.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#72661A
Tritanopia (blue-blind)
#706158
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #686812;
/* rgb */ color: rgb(104, 104, 18);
/* oklch */ color: oklch(50.1% 0.102 109.6);
Tailwind
colors: {
  custom: {
    50: '#969259',
    500: '#686812',
    950: '#000000',
  },
}
SCSS
$custom: #686812;
$custom-light: #969259;
$custom-dark: #000000;
JSON
{
  "hex": "#686812",
  "rgb": {
    "r": 104,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.50148,
    "c": 0.10204,
    "h": 109.6
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#686812
secondary
#3636A0
accent
#3BED3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #686812

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

Preview Lab → · Contrast checker → · Palette generator →

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