#686F18#686F18

#686F18 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 51.9% C 0.107 H 114.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#686F18
RGBrgb(104, 111, 24)
HSLhsl(65, 64%, 26%)
HSVhsv(65, 78%, 44%)
CMYKcmyk(6.3%, 0%, 78.4%, 56.5%)
CIE-LABlab(44.77, -14.22, 44.17)
CIE-LCHlch(44.77, 46.40, 107.85°)
OKLaboklab(51.9% -0.0437 0.0972)
OKLCHoklch(51.9% 0.107 114.2)
XYZxyz(11.5586, 14.3781, 3.0303)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686F18 #1F186F
analogous
#6F4B18 #686F18 #3D6F18
triadic
#686F18 #18686F #6F1868
tetradic
#686F18 #186F4B #1F186F #6F183D
square
#686F18 #186F4B #1F186F #6F183D
split-complementary
#686F18 #183D6F #4B186F
monochromatic
#181905 #393D0D #686F18 #97A123 #C5D22F

Accessibility & contrast

On white

5.42
#686F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#686F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686F18
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686F18#FFFFFF#000000##FFFFFF
##686F181.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786905
Deuteranopia (green-blind)
#776B1F
Tritanopia (blue-blind)
#6F685F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #686f18;
/* rgb */ color: rgb(104, 111, 24);
/* oklch */ color: oklch(51.9% 0.107 114.2);
Tailwind
colors: {
  custom: {
    50: '#96985d',
    500: '#686f18',
    950: '#000000',
  },
}
SCSS
$custom: #686f18;
$custom-light: #96985d;
$custom-dark: #000000;
JSON
{
  "hex": "#686f18",
  "rgb": {
    "r": 104,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 64.828,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51901,
    "c": 0.10655,
    "h": 114.2
  },
  "luminance": 0.14378
}

Semantic roles & 50–950 ramp

primary
#686F18
secondary
#463EA5
accent
#40E74E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686F18

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

Preview Lab → · Contrast checker → · Palette generator →

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