#686B28#686B28

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

Color values

HEX#686B28
RGBrgb(104, 107, 40)
HSLhsl(63, 46%, 29%)
HSVhsv(63, 63%, 42%)
CMYKcmyk(2.8%, 0%, 62.6%, 58%)
CIE-LABlab(43.67, -10.98, 36.19)
CIE-LCHlch(43.67, 37.82, 106.88°)
OKLaboklab(51.06% -0.0329 0.0831)
OKLCHoklch(51.06% 0.089 111.6)
XYZxyz(11.3499, 13.6119, 4.0365)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686B28 #2B286B
analogous
#6B4D28 #686B28 #476B28
triadic
#686B28 #28686B #6B2868
tetradic
#686B28 #286B4D #2B286B #6B2847
square
#686B28 #286B4D #2B286B #6B2847
split-complementary
#686B28 #28476B #4D286B
monochromatic
#161608 #3D3E17 #686B28 #939839 #B9BE50

Accessibility & contrast

On white

5.64
#686B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#686B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686B28
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686B28#FFFFFF#000000##FFFFFF
##686B281.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736620
Deuteranopia (green-blind)
#73682C
Tritanopia (blue-blind)
#6F655D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #686b28;
/* rgb */ color: rgb(104, 107, 40);
/* oklch */ color: oklch(51.1% 0.089 111.6);
Tailwind
colors: {
  custom: {
    50: '#959565',
    500: '#686b28',
    950: '#000000',
  },
}
SCSS
$custom: #686b28;
$custom-light: #959565;
$custom-dark: #000000;
JSON
{
  "hex": "#686b28",
  "rgb": {
    "r": 104,
    "g": 107,
    "b": 40
  },
  "hsl": {
    "h": 62.687,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51061,
    "c": 0.0894,
    "h": 111.6
  },
  "luminance": 0.13612
}

Semantic roles & 50–950 ramp

primary
#686B28
secondary
#55519D
accent
#53D558
background
#F9F9F6
surface
#F2F1EB
border
#CCCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #686B28

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

Preview Lab → · Contrast checker → · Palette generator →

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