#686D27#686D27

#686D27 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.5% C 0.093 H 113.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#686D27
RGBrgb(104, 109, 39)
HSLhsl(64, 47%, 29%)
HSVhsv(64, 64%, 43%)
CMYKcmyk(4.6%, 0%, 64.2%, 57.3%)
CIE-LABlab(44.27, -12.18, 37.33)
CIE-LCHlch(44.27, 39.26, 108.07°)
OKLaboklab(51.54% -0.0363 0.0854)
OKLCHoklch(51.54% 0.093 113.1)
XYZxyz(11.5441, 14.0270, 4.0184)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686D27 #2C276D
analogous
#6D4F27 #686D27 #456D27
triadic
#686D27 #27686D #6D2768
tetradic
#686D27 #276D4F #2C276D #6D2745
square
#686D27 #276D4F #2C276D #6D2745
split-complementary
#686D27 #27456D #4F276D
monochromatic
#161708 #3D4017 #686D27 #939A37 #B8C04F

Accessibility & contrast

On white

5.52
#686D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#686D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686D27
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686D27#FFFFFF#000000##FFFFFF
##686D271.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75681F
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#6F675E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #686d27;
/* rgb */ color: rgb(104, 109, 39);
/* oklch */ color: oklch(51.5% 0.093 113.1);
Tailwind
colors: {
  custom: {
    50: '#959665',
    500: '#686d27',
    950: '#000000',
  },
}
SCSS
$custom: #686d27;
$custom-light: #959665;
$custom-dark: #000000;
JSON
{
  "hex": "#686d27",
  "rgb": {
    "r": 104,
    "g": 109,
    "b": 39
  },
  "hsl": {
    "h": 64.286,
    "s": 47.297,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51538,
    "c": 0.09281,
    "h": 113.1
  },
  "luminance": 0.14027
}

Semantic roles & 50–950 ramp

primary
#686D27
secondary
#5650A0
accent
#51D75A
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #686D27

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

Preview Lab → · Contrast checker → · Palette generator →

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