#686A18#686A18

#686A18 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.7% C 0.101 H 110.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#686A18
RGBrgb(104, 106, 24)
HSLhsl(61, 63%, 25%)
HSVhsv(61, 77%, 42%)
CMYKcmyk(1.9%, 0%, 77.4%, 58.4%)
CIE-LABlab(43.24, -11.46, 42.73)
CIE-LCHlch(43.24, 44.24, 105.02°)
OKLaboklab(50.67% -0.036 0.0941)
OKLCHoklch(50.67% 0.101 110.9)
XYZxyz(11.0282, 13.3174, 2.8536)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686A18 #1A186A
analogous
#6A4318 #686A18 #3F6A18
triadic
#686A18 #18686A #6A1868
tetradic
#686A18 #186A43 #1A186A #6A183F
square
#686A18 #186A43 #1A186A #6A183F
split-complementary
#686A18 #183F6A #43186A
monochromatic
#181906 #37380D #686A18 #999C23 #CACE2F

Accessibility & contrast

On white

5.73
#686A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#686A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686A18
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686A18#FFFFFF#000000##FFFFFF
##686A181.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736507
Deuteranopia (green-blind)
#73671F
Tritanopia (blue-blind)
#70635A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #686a18;
/* rgb */ color: rgb(104, 106, 24);
/* oklch */ color: oklch(50.7% 0.101 110.9);
Tailwind
colors: {
  custom: {
    50: '#96945c',
    500: '#686a18',
    950: '#000000',
  },
}
SCSS
$custom: #686a18;
$custom-light: #96945c;
$custom-dark: #000000;
JSON
{
  "hex": "#686a18",
  "rgb": {
    "r": 104,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 61.463,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50673,
    "c": 0.10079,
    "h": 110.9
  },
  "luminance": 0.13317
}

Semantic roles & 50–950 ramp

primary
#686A18
secondary
#403EA0
accent
#42E646
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686A18

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

Preview Lab → · Contrast checker → · Palette generator →

#686A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva