#686D21#686D21

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

Color values

HEX#686D21
RGBrgb(104, 109, 33)
HSLhsl(64, 54%, 28%)
HSVhsv(64, 70%, 43%)
CMYKcmyk(4.6%, 0%, 69.7%, 57.3%)
CIE-LABlab(44.22, -12.61, 40.02)
CIE-LCHlch(44.22, 41.96, 107.49°)
OKLaboklab(51.48% -0.0382 0.0901)
OKLCHoklch(51.48% 0.098 113)
XYZxyz(11.4524, 13.9904, 3.5357)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686D21 #26216D
analogous
#6D4C21 #686D21 #426D21
triadic
#686D21 #21686D #6D2168
tetradic
#686D21 #216D4C #26216D #6D2142
square
#686D21 #216D4C #26216D #6D2142
split-complementary
#686D21 #21426D #4C216D
monochromatic
#161707 #3B3E13 #686D21 #959C2F #BDC642

Accessibility & contrast

On white

5.53
#686D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#686D21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686D21
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686D21#FFFFFF#000000##FFFFFF
##686D211.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756816
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#6F665E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #686d21;
/* rgb */ color: rgb(104, 109, 33);
/* oklch */ color: oklch(51.5% 0.098 113.0);
Tailwind
colors: {
  custom: {
    50: '#959661',
    500: '#686d21',
    950: '#000000',
  },
}
SCSS
$custom: #686d21;
$custom-light: #959661;
$custom-dark: #000000;
JSON
{
  "hex": "#686d21",
  "rgb": {
    "r": 104,
    "g": 109,
    "b": 33
  },
  "hsl": {
    "h": 63.947,
    "s": 53.521,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51479,
    "c": 0.09788,
    "h": 113
  },
  "luminance": 0.1399
}

Semantic roles & 50–950 ramp

primary
#686D21
secondary
#4F49A1
accent
#4BDD54
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #686D21

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

Preview Lab → · Contrast checker → · Palette generator →

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