#686D20#686D20

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

Color values

HEX#686D20
RGBrgb(104, 109, 32)
HSLhsl(64, 55%, 28%)
HSVhsv(64, 71%, 43%)
CMYKcmyk(4.6%, 0%, 70.6%, 57.3%)
CIE-LABlab(44.21, -12.67, 40.45)
CIE-LCHlch(44.21, 42.38, 107.40°)
OKLaboklab(51.47% -0.0385 0.0908)
OKLCHoklch(51.47% 0.099 113)
XYZxyz(11.4386, 13.9849, 3.4630)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686D20 #25206D
analogous
#6D4B20 #686D20 #416D20
triadic
#686D20 #20686D #6D2068
tetradic
#686D20 #206D4B #25206D #6D2041
square
#686D20 #206D4B #25206D #6D2041
split-complementary
#686D20 #20416D #4B206D
monochromatic
#171807 #3B3E12 #686D20 #959C2E #BEC740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##686D20#FFFFFF#000000##FFFFFF
##686D201.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)
#756815
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#6F665E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #686d20;
/* rgb */ color: rgb(104, 109, 32);
/* oklch */ color: oklch(51.5% 0.099 113.0);
Tailwind
colors: {
  custom: {
    50: '#969660',
    500: '#686d20',
    950: '#000000',
  },
}
SCSS
$custom: #686d20;
$custom-light: #969660;
$custom-dark: #000000;
JSON
{
  "hex": "#686d20",
  "rgb": {
    "r": 104,
    "g": 109,
    "b": 32
  },
  "hsl": {
    "h": 63.896,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5147,
    "c": 0.09866,
    "h": 113
  },
  "luminance": 0.13985
}

Semantic roles & 50–950 ramp

primary
#686D20
secondary
#4E48A1
accent
#4ADE53
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #686D20

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

Preview Lab → · Contrast checker → · Palette generator →

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