#686217#686217

#686217 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.7% C 0.093 H 104.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#686217
RGBrgb(104, 98, 23)
HSLhsl(56, 64%, 25%)
HSVhsv(56, 78%, 41%)
CMYKcmyk(0%, 5.8%, 77.9%, 59.2%)
CIE-LABlab(40.80, -6.98, 40.80)
CIE-LCHlch(40.80, 41.40, 99.71°)
OKLaboklab(48.73% -0.0235 0.0899)
OKLCHoklch(48.73% 0.093 104.7)
XYZxyz(10.2317, 11.7407, 2.5377)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686217 #171D68
analogous
#683A17 #686217 #456817
triadic
#686217 #176862 #621768
tetradic
#686217 #17683A #171D68 #681745
square
#686217 #17683A #171D68 #681745
split-complementary
#686217 #174568 #3A1768
monochromatic
#191806 #36330C #686217 #9A9122 #CCC02D

Accessibility & contrast

On white

6.27
#686217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#686217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686217
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686217#FFFFFF#000000##FFFFFF
##6862171.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #686217;
/* rgb */ color: rgb(104, 98, 23);
/* oklch */ color: oklch(48.7% 0.093 104.7);
Tailwind
colors: {
  custom: {
    50: '#968e5a',
    500: '#686217',
    950: '#000000',
  },
}
SCSS
$custom: #686217;
$custom-light: #968e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#686217",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 55.556,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48727,
    "c": 0.09289,
    "h": 104.7
  },
  "luminance": 0.1174
}

Semantic roles & 50–950 ramp

primary
#686217
secondary
#3D449E
accent
#4DE741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686217

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

Preview Lab → · Contrast checker → · Palette generator →

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