#686A1F#686A1F

#686A1F is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.7% C 0.096 H 110.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#686A1F
RGBrgb(104, 106, 31)
HSLhsl(62, 55%, 27%)
HSVhsv(62, 71%, 42%)
CMYKcmyk(1.9%, 0%, 70.8%, 58.4%)
CIE-LABlab(43.29, -11.07, 39.94)
CIE-LCHlch(43.29, 41.44, 105.49°)
OKLaboklab(50.73% -0.0341 0.0896)
OKLCHoklch(50.73% 0.096 110.9)
XYZxyz(11.1106, 13.3503, 3.2877)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686A1F #211F6A
analogous
#6A471F #686A1F #436A1F
triadic
#686A1F #1F686A #6A1F68
tetradic
#686A1F #1F6A47 #211F6A #6A1F43
square
#686A1F #1F6A47 #211F6A #6A1F43
split-complementary
#686A1F #1F436A #471F6A
monochromatic
#171807 #3A3B11 #686A1F #96992D #C3C63D

Accessibility & contrast

On white

5.72
#686A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#686A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686A1F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686A1F#FFFFFF#000000##FFFFFF
##686A1F1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736514
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#6F635B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #686a1f;
/* rgb */ color: rgb(104, 106, 31);
/* oklch */ color: oklch(50.7% 0.096 110.9);
Tailwind
colors: {
  custom: {
    50: '#969460',
    500: '#686a1f',
    950: '#000000',
  },
}
SCSS
$custom: #686a1f;
$custom-light: #969460;
$custom-dark: #000000;
JSON
{
  "hex": "#686a1f",
  "rgb": {
    "r": 104,
    "g": 106,
    "b": 31
  },
  "hsl": {
    "h": 61.6,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50728,
    "c": 0.09587,
    "h": 110.9
  },
  "luminance": 0.1335
}

Semantic roles & 50–950 ramp

primary
#686A1F
secondary
#49479E
accent
#4ADE4E
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #686A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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