#686118#686118

#686118 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.5% C 0.091 H 103.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#686118
RGBrgb(104, 97, 24)
HSLhsl(55, 63%, 25%)
HSVhsv(55, 77%, 41%)
CMYKcmyk(0%, 6.7%, 76.9%, 59.2%)
CIE-LABlab(40.51, -6.35, 40.12)
CIE-LCHlch(40.51, 40.62, 99.00°)
OKLaboklab(48.5% -0.0217 0.0886)
OKLCHoklch(48.5% 0.091 103.7)
XYZxyz(10.1489, 11.5588, 2.5605)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686118 #181F68
analogous
#683918 #686118 #476818
triadic
#686118 #186861 #611868
tetradic
#686118 #186839 #181F68 #681847
square
#686118 #186839 #181F68 #681847
split-complementary
#686118 #184768 #391868
monochromatic
#191706 #36330D #686118 #9A8F23 #CBBE2F

Accessibility & contrast

On white

6.34
#686118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#686118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686118
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686118#FFFFFF#000000##FFFFFF
##6861181.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E0B
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#705A53
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #686118;
/* rgb */ color: rgb(104, 97, 24);
/* oklch */ color: oklch(48.5% 0.091 103.7);
Tailwind
colors: {
  custom: {
    50: '#968d5b',
    500: '#686118',
    950: '#000000',
  },
}
SCSS
$custom: #686118;
$custom-light: #968d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#686118",
  "rgb": {
    "r": 104,
    "g": 97,
    "b": 24
  },
  "hsl": {
    "h": 54.75,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48495,
    "c": 0.09124,
    "h": 103.7
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

primary
#686118
secondary
#3E469E
accent
#51E642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686118

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

Preview Lab → · Contrast checker → · Palette generator →

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