#686C2F#686C2F

#686C2F is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.4% C 0.084 H 112.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#686C2F
RGBrgb(104, 108, 47)
HSLhsl(64, 39%, 30%)
HSVhsv(64, 56%, 42%)
CMYKcmyk(3.7%, 0%, 56.5%, 57.6%)
CIE-LABlab(44.05, -10.94, 33.10)
CIE-LCHlch(44.05, 34.86, 108.28°)
OKLaboklab(51.39% -0.0319 0.0774)
OKLCHoklch(51.39% 0.084 112.4)
XYZxyz(11.5848, 13.8736, 4.7564)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686C2F #332F6C
analogous
#6C512F #686C2F #4A6C2F
triadic
#686C2F #2F686C #6C2F68
tetradic
#686C2F #2F6C51 #332F6C #6C2F4A
square
#686C2F #2F6C51 #332F6C #6C2F4A
split-complementary
#686C2F #2F4A6C #512F6C
monochromatic
#16170A #3F411C #686C2F #919742 #B2B85D

Accessibility & contrast

On white

5.56
#686C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#686C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686C2F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686C2F#FFFFFF#000000##FFFFFF
##686C2F1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746729
Deuteranopia (green-blind)
#746932
Tritanopia (blue-blind)
#6E665E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #686c2f;
/* rgb */ color: rgb(104, 108, 47);
/* oklch */ color: oklch(51.4% 0.084 112.4);
Tailwind
colors: {
  custom: {
    50: '#95966a',
    500: '#686c2f',
    950: '#000000',
  },
}
SCSS
$custom: #686c2f;
$custom-light: #95966a;
$custom-dark: #000000;
JSON
{
  "hex": "#686c2f",
  "rgb": {
    "r": 104,
    "g": 108,
    "b": 47
  },
  "hsl": {
    "h": 63.934,
    "s": 39.355,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51389,
    "c": 0.08375,
    "h": 112.4
  },
  "luminance": 0.13873
}

Semantic roles & 50–950 ramp

primary
#686C2F
secondary
#5E599D
accent
#59CF60
background
#F9F9F6
surface
#F2F1EB
border
#CCCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #686C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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