#686B18#686B18

#686B18 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.9% C 0.102 H 111.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#686B18
RGBrgb(104, 107, 24)
HSLhsl(62, 63%, 26%)
HSVhsv(62, 78%, 42%)
CMYKcmyk(2.8%, 0%, 77.6%, 58%)
CIE-LABlab(43.54, -12.02, 43.02)
CIE-LCHlch(43.54, 44.66, 105.61°)
OKLaboklab(50.92% -0.0375 0.0948)
OKLCHoklch(50.92% 0.102 111.6)
XYZxyz(11.1319, 13.5247, 2.8881)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686B18 #1B186B
analogous
#6B4418 #686B18 #3E6B18
triadic
#686B18 #18686B #6B1868
tetradic
#686B18 #186B44 #1B186B #6B183E
square
#686B18 #186B44 #1B186B #6B183E
split-complementary
#686B18 #183E6B #44186B
monochromatic
#181906 #37390D #686B18 #999D23 #C9CF2E

Accessibility & contrast

On white

5.67
#686B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#686B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686B18
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686B18#FFFFFF#000000##FFFFFF
##686B181.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746607
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#70645B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #686b18;
/* rgb */ color: rgb(104, 107, 24);
/* oklch */ color: oklch(50.9% 0.102 111.6);
Tailwind
colors: {
  custom: {
    50: '#96955c',
    500: '#686b18',
    950: '#000000',
  },
}
SCSS
$custom: #686b18;
$custom-light: #96955c;
$custom-dark: #000000;
JSON
{
  "hex": "#686b18",
  "rgb": {
    "r": 104,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 62.169,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50918,
    "c": 0.10192,
    "h": 111.6
  },
  "luminance": 0.13524
}

Semantic roles & 50–950 ramp

primary
#686B18
secondary
#423EA1
accent
#41E647
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686B18

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

Preview Lab → · Contrast checker → · Palette generator →

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