#686D23#686D23

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

Color values

HEX#686D23
RGBrgb(104, 109, 35)
HSLhsl(64, 51%, 28%)
HSVhsv(64, 68%, 43%)
CMYKcmyk(4.6%, 0%, 67.9%, 57.3%)
CIE-LABlab(44.24, -12.47, 39.15)
CIE-LCHlch(44.24, 41.09, 107.67°)
OKLaboklab(51.5% -0.0376 0.0886)
OKLCHoklch(51.5% 0.096 113)
XYZxyz(11.4812, 14.0019, 3.6876)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686D23 #28236D
analogous
#6D4D23 #686D23 #436D23
triadic
#686D23 #23686D #6D2368
tetradic
#686D23 #236D4D #28236D #6D2343
square
#686D23 #236D4D #28236D #6D2343
split-complementary
#686D23 #23436D #4D236D
monochromatic
#161707 #3C3F14 #686D23 #949B32 #BBC447

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##686D23#FFFFFF#000000##FFFFFF
##686D231.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)
#756819
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#6F665E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #686d23;
/* rgb */ color: rgb(104, 109, 35);
/* oklch */ color: oklch(51.5% 0.096 113.0);
Tailwind
colors: {
  custom: {
    50: '#959662',
    500: '#686d23',
    950: '#000000',
  },
}
SCSS
$custom: #686d23;
$custom-light: #959662;
$custom-dark: #000000;
JSON
{
  "hex": "#686d23",
  "rgb": {
    "r": 104,
    "g": 109,
    "b": 35
  },
  "hsl": {
    "h": 64.054,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.09627,
    "h": 113
  },
  "luminance": 0.14002
}

Semantic roles & 50–950 ramp

primary
#686D23
secondary
#514BA0
accent
#4DDB57
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0D05
muted
#7E7E7A

Preview Lab

Preview with #686D23

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

Preview Lab → · Contrast checker → · Palette generator →

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