#686418#686418

#686418 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.2% C 0.094 H 106.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#686418
RGBrgb(104, 100, 24)
HSLhsl(57, 63%, 25%)
HSVhsv(57, 77%, 41%)
CMYKcmyk(0%, 3.8%, 76.9%, 59.2%)
CIE-LABlab(41.41, -8.08, 40.99)
CIE-LCHlch(41.41, 41.78, 101.15°)
OKLaboklab(49.22% -0.0265 0.0905)
OKLCHoklch(49.22% 0.094 106.3)
XYZxyz(10.4314, 12.1237, 2.6546)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686418 #181C68
analogous
#683C18 #686418 #446818
triadic
#686418 #186864 #641868
tetradic
#686418 #18683C #181C68 #681844
square
#686418 #18683C #181C68 #681844
split-complementary
#686418 #184468 #3C1868
monochromatic
#191806 #36340D #686418 #9A9423 #CBC42F

Accessibility & contrast

On white

6.13
#686418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#686418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686418
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686418#FFFFFF#000000##FFFFFF
##6864181.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600A
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#705D55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #686418;
/* rgb */ color: rgb(104, 100, 24);
/* oklch */ color: oklch(49.2% 0.094 106.3);
Tailwind
colors: {
  custom: {
    50: '#968f5b',
    500: '#686418',
    950: '#000000',
  },
}
SCSS
$custom: #686418;
$custom-light: #968f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#686418",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 57,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49216,
    "c": 0.09428,
    "h": 106.3
  },
  "luminance": 0.12123
}

Semantic roles & 50–950 ramp

primary
#686418
secondary
#3E439E
accent
#4AE642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686418

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

Preview Lab → · Contrast checker → · Palette generator →

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