#686818#686818

#686818 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.2% C 0.099 H 109.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#686818
RGBrgb(104, 104, 24)
HSLhsl(60, 63%, 25%)
HSVhsv(60, 77%, 41%)
CMYKcmyk(0%, 0%, 76.9%, 59.2%)
CIE-LABlab(42.63, -10.34, 42.15)
CIE-LCHlch(42.63, 43.40, 103.79°)
OKLaboklab(50.19% -0.0329 0.0929)
OKLCHoklch(50.19% 0.099 109.5)
XYZxyz(10.8245, 12.9100, 2.7856)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686818 #181868
analogous
#684018 #686818 #406818
triadic
#686818 #186868 #681868
tetradic
#686818 #186840 #181868 #681840
square
#686818 #186840 #181868 #681840
split-complementary
#686818 #184068 #401868
monochromatic
#191906 #36360D #686818 #9A9A23 #CBCB2F

Accessibility & contrast

On white

5.86
#686818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#686818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686818
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686818#FFFFFF#000000##FFFFFF
##6868181.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716308
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#706159
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #686818;
/* rgb */ color: rgb(104, 104, 24);
/* oklch */ color: oklch(50.2% 0.099 109.5);
Tailwind
colors: {
  custom: {
    50: '#96925c',
    500: '#686818',
    950: '#000000',
  },
}
SCSS
$custom: #686818;
$custom-light: #96925c;
$custom-dark: #000000;
JSON
{
  "hex": "#686818",
  "rgb": {
    "r": 104,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50186,
    "c": 0.09856,
    "h": 109.5
  },
  "luminance": 0.1291
}

Semantic roles & 50–950 ramp

primary
#686818
secondary
#3E3E9E
accent
#42E642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #686818

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

Preview Lab → · Contrast checker → · Palette generator →

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