#686C1F#686C1F

#686C1F is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.2% C 0.098 H 112.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#686C1F
RGBrgb(104, 108, 31)
HSLhsl(63, 55%, 27%)
HSVhsv(63, 71%, 42%)
CMYKcmyk(3.7%, 0%, 71.3%, 57.6%)
CIE-LABlab(43.90, -12.18, 40.56)
CIE-LCHlch(43.90, 42.35, 106.72°)
OKLaboklab(51.22% -0.0373 0.0909)
OKLCHoklch(51.22% 0.098 112.3)
XYZxyz(11.3191, 13.7674, 3.3572)
Luminance0.1377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686C1F #231F6C
analogous
#6C4A1F #686C1F #426C1F
triadic
#686C1F #1F686C #6C1F68
tetradic
#686C1F #1F6C4A #231F6C #6C1F42
square
#686C1F #1F6C4A #231F6C #6C1F42
split-complementary
#686C1F #1F426C #4A1F6C
monochromatic
#171807 #3A3C11 #686C1F #969C2D #C0C83E

Accessibility & contrast

On white

5.59
#686C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#686C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686C1F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686C1F#FFFFFF#000000##FFFFFF
##686C1F1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746713
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#6F655D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #686c1f;
/* rgb */ color: rgb(104, 108, 31);
/* oklch */ color: oklch(51.2% 0.098 112.3);
Tailwind
colors: {
  custom: {
    50: '#969560',
    500: '#686c1f',
    950: '#000000',
  },
}
SCSS
$custom: #686c1f;
$custom-light: #969560;
$custom-dark: #000000;
JSON
{
  "hex": "#686c1f",
  "rgb": {
    "r": 104,
    "g": 108,
    "b": 31
  },
  "hsl": {
    "h": 63.117,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51217,
    "c": 0.09823,
    "h": 112.3
  },
  "luminance": 0.13767
}

Semantic roles & 50–950 ramp

primary
#686C1F
secondary
#4B47A0
accent
#49DF51
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #686C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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