#686815#686815

#686815 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.2% C 0.100 H 109.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#686815
RGBrgb(104, 104, 21)
HSLhsl(60, 66%, 25%)
HSVhsv(60, 80%, 41%)
CMYKcmyk(0%, 0%, 79.8%, 59.2%)
CIE-LABlab(42.61, -10.49, 43.24)
CIE-LCHlch(42.61, 44.49, 103.64°)
OKLaboklab(50.17% -0.0336 0.0946)
OKLCHoklch(50.17% 0.1 109.5)
XYZxyz(10.7950, 12.8982, 2.6303)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686815 #151568
analogous
#683F15 #686815 #3F6815
triadic
#686815 #156868 #681568
tetradic
#686815 #15683F #151568 #68153F
square
#686815 #15683F #151568 #68153F
split-complementary
#686815 #153F68 #3F1568
monochromatic
#191905 #35350B #686815 #9B9B1F #CECE2A

Accessibility & contrast

On white

5.87
#686815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#686815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686815
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686815#FFFFFF#000000##FFFFFF
##6868151.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716302
Deuteranopia (green-blind)
#72661C
Tritanopia (blue-blind)
#706158
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #686815;
/* rgb */ color: rgb(104, 104, 21);
/* oklch */ color: oklch(50.2% 0.100 109.5);
Tailwind
colors: {
  custom: {
    50: '#96925a',
    500: '#686815',
    950: '#000000',
  },
}
SCSS
$custom: #686815;
$custom-light: #96925a;
$custom-dark: #000000;
JSON
{
  "hex": "#686815",
  "rgb": {
    "r": 104,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 60,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.1004,
    "h": 109.5
  },
  "luminance": 0.12898
}

Semantic roles & 50–950 ramp

primary
#686815
secondary
#3A3A9F
accent
#3EE93E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #686815

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

Preview Lab → · Contrast checker → · Palette generator →

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