#686A22#686A22

#686A22 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.8% C 0.093 H 110.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#686A22
RGBrgb(104, 106, 34)
HSLhsl(62, 51%, 27%)
HSVhsv(62, 68%, 42%)
CMYKcmyk(1.9%, 0%, 67.9%, 58.4%)
CIE-LABlab(43.31, -10.87, 38.63)
CIE-LCHlch(43.31, 40.13, 105.72°)
OKLaboklab(50.76% -0.0332 0.0874)
OKLCHoklch(50.76% 0.093 110.8)
XYZxyz(11.1520, 13.3669, 3.5057)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686A22 #24226A
analogous
#6A4822 #686A22 #446A22
triadic
#686A22 #22686A #6A2268
tetradic
#686A22 #226A48 #24226A #6A2244
square
#686A22 #226A48 #24226A #6A2244
split-complementary
#686A22 #22446A #48226A
monochromatic
#171707 #3B3C13 #686A22 #959831 #BFC344

Accessibility & contrast

On white

5.72
#686A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#686A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686A22
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686A22#FFFFFF#000000##FFFFFF
##686A221.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726518
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#6F635B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #686a22;
/* rgb */ color: rgb(104, 106, 34);
/* oklch */ color: oklch(50.8% 0.093 110.8);
Tailwind
colors: {
  custom: {
    50: '#959461',
    500: '#686a22',
    950: '#000000',
  },
}
SCSS
$custom: #686a22;
$custom-light: #959461;
$custom-dark: #000000;
JSON
{
  "hex": "#686a22",
  "rgb": {
    "r": 104,
    "g": 106,
    "b": 34
  },
  "hsl": {
    "h": 61.667,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50756,
    "c": 0.09347,
    "h": 110.8
  },
  "luminance": 0.13367
}

Semantic roles & 50–950 ramp

primary
#686A22
secondary
#4C4A9E
accent
#4DDB51
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #686A22

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

Preview Lab → · Contrast checker → · Palette generator →

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