#687717#687717

#687717 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 53.9% C 0.117 H 118.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#687717
RGBrgb(104, 119, 23)
HSLhsl(69, 68%, 28%)
HSVhsv(69, 81%, 47%)
CMYKcmyk(12.6%, 0%, 80.7%, 53.3%)
CIE-LABlab(47.23, -18.56, 46.79)
CIE-LCHlch(47.23, 50.34, 111.63°)
OKLaboklab(53.88% -0.0557 0.1026)
OKLCHoklch(53.88% 0.117 118.5)
XYZxyz(12.4607, 16.1987, 3.2807)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687717 #261777
analogous
#775617 #687717 #387717
triadic
#687717 #176877 #771768
tetradic
#687717 #177756 #261777 #771738
square
#687717 #177756 #261777 #771738
split-complementary
#687717 #173877 #561777
monochromatic
#161A05 #3B440D #687717 #95AA21 #BDD731

Accessibility & contrast

On white

4.95
#687717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#687717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687717
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687717#FFFFFF#000000##FFFFFF
##6877171.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7E7020
Tritanopia (blue-blind)
#6F7065
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #687717;
/* rgb */ color: rgb(104, 119, 23);
/* oklch */ color: oklch(53.9% 0.117 118.5);
Tailwind
colors: {
  custom: {
    50: '#969e5d',
    500: '#687717',
    950: '#000000',
  },
}
SCSS
$custom: #687717;
$custom-light: #969e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#687717",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 69.375,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53879,
    "c": 0.11672,
    "h": 118.5
  },
  "luminance": 0.16199
}

Semantic roles & 50–950 ramp

primary
#687717
secondary
#4F3EAC
accent
#3DEA58
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687717

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

Preview Lab → · Contrast checker → · Palette generator →

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