#686D22#686D22

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

Color values

HEX#686D22
RGBrgb(104, 109, 34)
HSLhsl(64, 52%, 28%)
HSVhsv(64, 69%, 43%)
CMYKcmyk(4.6%, 0%, 68.8%, 57.3%)
CIE-LABlab(44.23, -12.54, 39.59)
CIE-LCHlch(44.23, 41.53, 107.58°)
OKLaboklab(51.49% -0.0379 0.0894)
OKLCHoklch(51.49% 0.097 113)
XYZxyz(11.4666, 13.9961, 3.6105)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686D22 #27226D
analogous
#6D4C22 #686D22 #426D22
triadic
#686D22 #22686D #6D2268
tetradic
#686D22 #226D4C #27226D #6D2242
square
#686D22 #226D4C #27226D #6D2242
split-complementary
#686D22 #22426D #4C226D
monochromatic
#161707 #3B3E13 #686D22 #959C31 #BCC545

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##686D22#FFFFFF#000000##FFFFFF
##686D221.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)
#756818
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#6F665E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #686d22;
/* rgb */ color: rgb(104, 109, 34);
/* oklch */ color: oklch(51.5% 0.097 113.0);
Tailwind
colors: {
  custom: {
    50: '#959662',
    500: '#686d22',
    950: '#000000',
  },
}
SCSS
$custom: #686d22;
$custom-light: #959662;
$custom-dark: #000000;
JSON
{
  "hex": "#686d22",
  "rgb": {
    "r": 104,
    "g": 109,
    "b": 34
  },
  "hsl": {
    "h": 64,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51488,
    "c": 0.09709,
    "h": 113
  },
  "luminance": 0.13996
}

Semantic roles & 50–950 ramp

primary
#686D22
secondary
#504AA1
accent
#4CDC56
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #686D22

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

Preview Lab → · Contrast checker → · Palette generator →

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