#686221#686221

#686221 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.8% C 0.085 H 104.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#686221
RGBrgb(104, 98, 33)
HSLhsl(55, 52%, 27%)
HSVhsv(55, 68%, 41%)
CMYKcmyk(0%, 5.8%, 68.3%, 59.2%)
CIE-LABlab(40.88, -6.39, 36.55)
CIE-LCHlch(40.88, 37.10, 99.91°)
OKLaboklab(48.81% -0.0207 0.0828)
OKLCHoklch(48.81% 0.085 104)
XYZxyz(10.3515, 11.7886, 3.1687)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686221 #212768
analogous
#683F21 #686221 #4B6821
triadic
#686221 #216862 #622168
tetradic
#686221 #21683F #212768 #68214B
square
#686221 #21683F #212768 #68214B
split-complementary
#686221 #214B68 #3F2168
monochromatic
#171607 #3A3612 #686221 #968E30 #C3B841

Accessibility & contrast

On white

6.25
#686221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#686221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686221
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686221#FFFFFF#000000##FFFFFF
##6862211.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F19
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#705B54
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #686221;
/* rgb */ color: rgb(104, 98, 33);
/* oklch */ color: oklch(48.8% 0.085 104.0);
Tailwind
colors: {
  custom: {
    50: '#958e60',
    500: '#686221',
    950: '#000000',
  },
}
SCSS
$custom: #686221;
$custom-light: #958e60;
$custom-dark: #000000;
JSON
{
  "hex": "#686221",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 54.93,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48813,
    "c": 0.08533,
    "h": 104
  },
  "luminance": 0.11788
}

Semantic roles & 50–950 ramp

primary
#686221
secondary
#49509C
accent
#59DB4D
background
#F9F8F5
surface
#F2F0EA
border
#CCCBC6
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #686221

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

Preview Lab → · Contrast checker → · Palette generator →

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