#686222#686222

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

Color values

HEX#686222
RGBrgb(104, 98, 34)
HSLhsl(55, 51%, 27%)
HSVhsv(55, 67%, 41%)
CMYKcmyk(0%, 5.8%, 67.3%, 59.2%)
CIE-LABlab(40.89, -6.32, 36.08)
CIE-LCHlch(40.89, 36.63, 99.93°)
OKLaboklab(48.82% -0.0204 0.082)
OKLCHoklch(48.82% 0.084 104)
XYZxyz(10.3657, 11.7943, 3.2436)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686222 #222868
analogous
#683F22 #686222 #4B6822
triadic
#686222 #226862 #622268
tetradic
#686222 #22683F #222868 #68224B
square
#686222 #22683F #222868 #68224B
split-complementary
#686222 #224B68 #3F2268
monochromatic
#171608 #3A3713 #686222 #968D31 #C2B743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##686222#FFFFFF#000000##FFFFFF
##6862221.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)
#6B5F1A
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#705B55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #686222;
/* rgb */ color: rgb(104, 98, 34);
/* oklch */ color: oklch(48.8% 0.084 104.0);
Tailwind
colors: {
  custom: {
    50: '#958e61',
    500: '#686222',
    950: '#000000',
  },
}
SCSS
$custom: #686222;
$custom-light: #958e61;
$custom-dark: #000000;
JSON
{
  "hex": "#686222",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 34
  },
  "hsl": {
    "h": 54.857,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48824,
    "c": 0.08447,
    "h": 104
  },
  "luminance": 0.11794
}

Semantic roles & 50–950 ramp

primary
#686222
secondary
#4A519C
accent
#5ADA4E
background
#F9F8F5
surface
#F2F0EA
border
#CCCBC6
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #686222

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

Preview Lab → · Contrast checker → · Palette generator →

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