#686522#686522

#686522 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.5% C 0.088 H 106.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#686522
RGBrgb(104, 101, 34)
HSLhsl(57, 51%, 27%)
HSVhsv(57, 67%, 41%)
CMYKcmyk(0%, 2.9%, 67.3%, 59.2%)
CIE-LABlab(41.79, -8.04, 37.04)
CIE-LCHlch(41.79, 37.90, 102.25°)
OKLaboklab(49.54% -0.0253 0.084)
OKLCHoklch(49.54% 0.088 106.7)
XYZxyz(10.6517, 12.3663, 3.3389)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686522 #222568
analogous
#684222 #686522 #486822
triadic
#686522 #226865 #652268
tetradic
#686522 #226842 #222568 #682248
square
#686522 #226842 #222568 #682248
split-complementary
#686522 #224868 #422268
monochromatic
#171608 #3A3813 #686522 #969231 #C2BC43

Accessibility & contrast

On white

6.05
#686522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#686522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686522
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686522#FFFFFF#000000##FFFFFF
##6865221.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E611A
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#705E57
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #686522;
/* rgb */ color: rgb(104, 101, 34);
/* oklch */ color: oklch(49.5% 0.088 106.7);
Tailwind
colors: {
  custom: {
    50: '#959061',
    500: '#686522',
    950: '#000000',
  },
}
SCSS
$custom: #686522;
$custom-light: #959061;
$custom-dark: #000000;
JSON
{
  "hex": "#686522",
  "rgb": {
    "r": 104,
    "g": 101,
    "b": 34
  },
  "hsl": {
    "h": 57.429,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49544,
    "c": 0.08772,
    "h": 106.7
  },
  "luminance": 0.12366
}

Semantic roles & 50–950 ramp

primary
#686522
secondary
#4A4E9C
accent
#54DA4E
background
#F9F8F5
surface
#F2F0EA
border
#CCCBC6
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #686522

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

Preview Lab → · Contrast checker → · Palette generator →

#686522 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva