#686618#686618

#686618 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.7% C 0.096 H 108.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#686618
RGBrgb(104, 102, 24)
HSLhsl(59, 63%, 25%)
HSVhsv(59, 77%, 41%)
CMYKcmyk(0%, 1.9%, 76.9%, 59.2%)
CIE-LABlab(42.02, -9.21, 41.57)
CIE-LCHlch(42.02, 42.58, 102.50°)
OKLaboklab(49.7% -0.0297 0.0917)
OKLCHoklch(49.7% 0.096 108)
XYZxyz(10.6256, 12.5121, 2.7193)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686618 #181A68
analogous
#683E18 #686618 #426818
triadic
#686618 #186866 #661868
tetradic
#686618 #18683E #181A68 #681842
square
#686618 #18683E #181A68 #681842
split-complementary
#686618 #184268 #3E1868
monochromatic
#191806 #36350D #686618 #9A9723 #CBC82F

Accessibility & contrast

On white

6.00
#686618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#686618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686618
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686618#FFFFFF#000000##FFFFFF
##6866181.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6209
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#705F57
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #686618;
/* rgb */ color: rgb(104, 102, 24);
/* oklch */ color: oklch(49.7% 0.096 108.0);
Tailwind
colors: {
  custom: {
    50: '#96915b',
    500: '#686618',
    950: '#000000',
  },
}
SCSS
$custom: #686618;
$custom-light: #96915b;
$custom-dark: #000000;
JSON
{
  "hex": "#686618",
  "rgb": {
    "r": 104,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 58.5,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.497,
    "c": 0.09638,
    "h": 108
  },
  "luminance": 0.12512
}

Semantic roles & 50–950 ramp

primary
#686618
secondary
#3E409E
accent
#46E642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686618

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

Preview Lab → · Contrast checker → · Palette generator →

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