#686C22#686C22

#686C22 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.2% C 0.096 H 112.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#686C22
RGBrgb(104, 108, 34)
HSLhsl(63, 52%, 28%)
HSVhsv(63, 69%, 42%)
CMYKcmyk(3.7%, 0%, 68.5%, 57.6%)
CIE-LABlab(43.92, -11.99, 39.27)
CIE-LCHlch(43.92, 41.06, 106.97°)
OKLaboklab(51.24% -0.0364 0.0887)
OKLCHoklch(51.24% 0.096 112.3)
XYZxyz(11.3605, 13.7839, 3.5752)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686C22 #26226C
analogous
#6C4B22 #686C22 #436C22
triadic
#686C22 #22686C #6C2268
tetradic
#686C22 #226C4B #26226C #6C2243
square
#686C22 #226C4B #26226C #6C2243
split-complementary
#686C22 #22436C #4B226C
monochromatic
#161707 #3B3D13 #686C22 #959B31 #BDC444

Accessibility & contrast

On white

5.59
#686C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#686C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686C22
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686C22#FFFFFF#000000##FFFFFF
##686C221.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746718
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#6F655D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #686c22;
/* rgb */ color: rgb(104, 108, 34);
/* oklch */ color: oklch(51.2% 0.096 112.3);
Tailwind
colors: {
  custom: {
    50: '#959662',
    500: '#686c22',
    950: '#000000',
  },
}
SCSS
$custom: #686c22;
$custom-light: #959662;
$custom-dark: #000000;
JSON
{
  "hex": "#686c22",
  "rgb": {
    "r": 104,
    "g": 108,
    "b": 34
  },
  "hsl": {
    "h": 63.243,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51244,
    "c": 0.09587,
    "h": 112.3
  },
  "luminance": 0.13784
}

Semantic roles & 50–950 ramp

primary
#686C22
secondary
#4F4AA0
accent
#4CDC54
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #686C22

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

Preview Lab → · Contrast checker → · Palette generator →

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