#686B1F#686B1F

#686B1F is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.0% C 0.097 H 111.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#686B1F
RGBrgb(104, 107, 31)
HSLhsl(62, 55%, 27%)
HSVhsv(62, 71%, 42%)
CMYKcmyk(2.8%, 0%, 71%, 58%)
CIE-LABlab(43.59, -11.63, 40.25)
CIE-LCHlch(43.59, 41.89, 106.11°)
OKLaboklab(50.97% -0.0357 0.0902)
OKLCHoklch(50.97% 0.097 111.6)
XYZxyz(11.2143, 13.5576, 3.3222)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686B1F #221F6B
analogous
#6B481F #686B1F #426B1F
triadic
#686B1F #1F686B #6B1F68
tetradic
#686B1F #1F6B48 #221F6B #6B1F42
square
#686B1F #1F6B48 #221F6B #6B1F42
split-complementary
#686B1F #1F426B #481F6B
monochromatic
#171807 #3A3C11 #686B1F #969A2D #C2C73D

Accessibility & contrast

On white

5.66
#686B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#686B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686B1F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686B1F#FFFFFF#000000##FFFFFF
##686B1F1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736614
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#6F645C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #686b1f;
/* rgb */ color: rgb(104, 107, 31);
/* oklch */ color: oklch(51.0% 0.097 111.6);
Tailwind
colors: {
  custom: {
    50: '#969560',
    500: '#686b1f',
    950: '#000000',
  },
}
SCSS
$custom: #686b1f;
$custom-light: #969560;
$custom-dark: #000000;
JSON
{
  "hex": "#686b1f",
  "rgb": {
    "r": 104,
    "g": 107,
    "b": 31
  },
  "hsl": {
    "h": 62.368,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50972,
    "c": 0.09705,
    "h": 111.6
  },
  "luminance": 0.13557
}

Semantic roles & 50–950 ramp

primary
#686B1F
secondary
#4A479F
accent
#49DE4F
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #686B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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