#686F22#686F22

#686F22 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.0% C 0.100 H 114.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#686F22
RGBrgb(104, 111, 34)
HSLhsl(65, 53%, 28%)
HSVhsv(65, 69%, 44%)
CMYKcmyk(6.3%, 0%, 69.4%, 56.5%)
CIE-LABlab(44.84, -13.64, 40.22)
CIE-LCHlch(44.84, 42.47, 108.74°)
OKLaboklab(51.98% -0.041 0.0907)
OKLCHoklch(51.98% 0.1 114.3)
XYZxyz(11.6824, 14.4276, 3.6825)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686F22 #29226F
analogous
#6F4F22 #686F22 #416F22
triadic
#686F22 #22686F #6F2268
tetradic
#686F22 #226F4F #29226F #6F2241
square
#686F22 #226F4F #29226F #6F2241
split-complementary
#686F22 #22416F #4F226F
monochromatic
#161707 #3C4014 #686F22 #949E30 #BAC645

Accessibility & contrast

On white

5.40
#686F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#686F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686F22
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686F22#FFFFFF#000000##FFFFFF
##686F221.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776917
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#6F685F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #686f22;
/* rgb */ color: rgb(104, 111, 34);
/* oklch */ color: oklch(52.0% 0.100 114.3);
Tailwind
colors: {
  custom: {
    50: '#959862',
    500: '#686f22',
    950: '#000000',
  },
}
SCSS
$custom: #686f22;
$custom-light: #959862;
$custom-dark: #000000;
JSON
{
  "hex": "#686f22",
  "rgb": {
    "r": 104,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 65.455,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51979,
    "c": 0.09954,
    "h": 114.3
  },
  "luminance": 0.14427
}

Semantic roles & 50–950 ramp

primary
#686F22
secondary
#524AA2
accent
#4BDD58
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0D05
muted
#7E7E7A

Preview Lab

Preview with #686F22

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

Preview Lab → · Contrast checker → · Palette generator →

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