#687718#687718

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

Color values

HEX#687718
RGBrgb(104, 119, 24)
HSLhsl(69, 66%, 28%)
HSVhsv(69, 80%, 47%)
CMYKcmyk(12.6%, 0%, 79.8%, 53.3%)
CIE-LABlab(47.24, -18.51, 46.46)
CIE-LCHlch(47.24, 50.01, 111.72°)
OKLaboklab(53.89% -0.0555 0.102)
OKLCHoklch(53.89% 0.116 118.5)
XYZxyz(12.4709, 16.2028, 3.3344)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687718 #271877
analogous
#775618 #687718 #387718
triadic
#687718 #186877 #771868
tetradic
#687718 #187756 #271877 #771838
square
#687718 #187756 #271877 #771838
split-complementary
#687718 #183877 #561877
monochromatic
#161905 #3B440E #687718 #95AA22 #BCD633

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##687718#FFFFFF#000000##FFFFFF
##6877181.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)
#7F7001
Deuteranopia (green-blind)
#7E7021
Tritanopia (blue-blind)
#6F7065
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #687718;
/* rgb */ color: rgb(104, 119, 24);
/* oklch */ color: oklch(53.9% 0.116 118.5);
Tailwind
colors: {
  custom: {
    50: '#969e5e',
    500: '#687718',
    950: '#000000',
  },
}
SCSS
$custom: #687718;
$custom-light: #969e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#687718",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 69.474,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53885,
    "c": 0.11616,
    "h": 118.5
  },
  "luminance": 0.16203
}

Semantic roles & 50–950 ramp

primary
#687718
secondary
#503FAC
accent
#3EE959
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687718

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

Preview Lab → · Contrast checker → · Palette generator →

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