#686915#686915

#686915 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.4% C 0.101 H 110.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#686915
RGBrgb(104, 105, 21)
HSLhsl(61, 67%, 25%)
HSVhsv(61, 80%, 41%)
CMYKcmyk(1%, 0%, 80%, 58.8%)
CIE-LABlab(42.91, -11.05, 43.52)
CIE-LCHlch(42.91, 44.90, 104.25°)
OKLaboklab(50.41% -0.0351 0.0952)
OKLCHoklch(50.41% 0.101 110.3)
XYZxyz(10.8962, 13.1007, 2.6640)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686915 #161569
analogous
#694015 #686915 #3E6915
triadic
#686915 #156869 #691568
tetradic
#686915 #156940 #161569 #69153E
square
#686915 #156940 #161569 #69153E
split-complementary
#686915 #153E69 #401569
monochromatic
#191A05 #35360B #686915 #9B9C1F #CDCF29

Accessibility & contrast

On white

5.80
#686915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#686915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686915
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686915#FFFFFF#000000##FFFFFF
##6869151.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726402
Deuteranopia (green-blind)
#73661C
Tritanopia (blue-blind)
#706259
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #686915;
/* rgb */ color: rgb(104, 105, 21);
/* oklch */ color: oklch(50.4% 0.101 110.3);
Tailwind
colors: {
  custom: {
    50: '#96935a',
    500: '#686915',
    950: '#000000',
  },
}
SCSS
$custom: #686915;
$custom-light: #96935a;
$custom-dark: #000000;
JSON
{
  "hex": "#686915",
  "rgb": {
    "r": 104,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 60.714,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.10148,
    "h": 110.3
  },
  "luminance": 0.131
}

Semantic roles & 50–950 ramp

primary
#686915
secondary
#3B3AA0
accent
#3EEA40
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686915

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

Preview Lab → · Contrast checker → · Palette generator →

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