#686F2F#686F2F

#686F2F is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.1% C 0.088 H 114.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#686F2F
RGBrgb(104, 111, 47)
HSLhsl(67, 41%, 31%)
HSVhsv(67, 58%, 44%)
CMYKcmyk(6.3%, 0%, 57.7%, 56.5%)
CIE-LABlab(44.97, -12.60, 34.15)
CIE-LCHlch(44.97, 36.40, 110.26°)
OKLaboklab(52.12% -0.0366 0.0797)
OKLCHoklch(52.12% 0.088 114.7)
XYZxyz(11.9067, 14.5173, 4.8637)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686F2F #362F6F
analogous
#6F562F #686F2F #486F2F
triadic
#686F2F #2F686F #6F2F68
tetradic
#686F2F #2F6F56 #362F6F #6F2F48
square
#686F2F #2F6F56 #362F6F #6F2F48
split-complementary
#686F2F #2F486F #562F6F
monochromatic
#17190B #40441D #686F2F #909A41 #B1BB5E

Accessibility & contrast

On white

5.38
#686F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#686F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686F2F
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686F2F#FFFFFF#000000##FFFFFF
##686F2F1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A29
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#6E6961
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #686f2f;
/* rgb */ color: rgb(104, 111, 47);
/* oklch */ color: oklch(52.1% 0.088 114.7);
Tailwind
colors: {
  custom: {
    50: '#95986a',
    500: '#686f2f',
    950: '#000000',
  },
}
SCSS
$custom: #686f2f;
$custom-light: #95986a;
$custom-dark: #000000;
JSON
{
  "hex": "#686f2f",
  "rgb": {
    "r": 104,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 66.563,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.08771,
    "h": 114.7
  },
  "luminance": 0.14517
}

Semantic roles & 50–950 ramp

primary
#686F2F
secondary
#6159A0
accent
#57D065
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #686F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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