#686218#686218

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

Color values

HEX#686218
RGBrgb(104, 98, 24)
HSLhsl(56, 63%, 25%)
HSVhsv(56, 77%, 41%)
CMYKcmyk(0%, 5.8%, 76.9%, 59.2%)
CIE-LABlab(40.81, -6.93, 40.41)
CIE-LCHlch(40.81, 41.00, 99.73°)
OKLaboklab(48.74% -0.0233 0.0892)
OKLCHoklch(48.74% 0.092 104.6)
XYZxyz(10.2419, 11.7448, 2.5915)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686218 #181E68
analogous
#683A18 #686218 #466818
triadic
#686218 #186862 #621868
tetradic
#686218 #18683A #181E68 #681846
square
#686218 #18683A #181E68 #681846
split-complementary
#686218 #184668 #3A1868
monochromatic
#191706 #36330D #686218 #9A9123 #CBC02F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##686218#FFFFFF#000000##FFFFFF
##6862181.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)
#6B5E0B
Deuteranopia (green-blind)
#6D621D
Tritanopia (blue-blind)
#705B54
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #686218;
/* rgb */ color: rgb(104, 98, 24);
/* oklch */ color: oklch(48.7% 0.092 104.6);
Tailwind
colors: {
  custom: {
    50: '#968e5b',
    500: '#686218',
    950: '#000000',
  },
}
SCSS
$custom: #686218;
$custom-light: #968e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#686218",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 55.5,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48735,
    "c": 0.09223,
    "h": 104.6
  },
  "luminance": 0.11744
}

Semantic roles & 50–950 ramp

primary
#686218
secondary
#3E459E
accent
#4EE642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686218

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

Preview Lab → · Contrast checker → · Palette generator →

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