#687417#687417

#687417 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.1% C 0.113 H 117.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#687417
RGBrgb(104, 116, 23)
HSLhsl(68, 67%, 27%)
HSVhsv(68, 80%, 45%)
CMYKcmyk(10.3%, 0%, 80.2%, 54.5%)
CIE-LABlab(46.31, -16.97, 45.94)
CIE-LCHlch(46.31, 48.97, 110.27°)
OKLaboklab(53.13% -0.0513 0.1008)
OKLCHoklch(53.13% 0.113 117)
XYZxyz(12.1093, 15.4959, 3.1635)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687417 #231774
analogous
#745217 #687417 #3A7417
triadic
#687417 #176874 #741768
tetradic
#687417 #177452 #231774 #74173A
square
#687417 #177452 #231774 #74173A
split-complementary
#687417 #173A74 #521774
monochromatic
#171A05 #3A410D #687417 #96A721 #C0D630

Accessibility & contrast

On white

5.12
#687417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#687417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687417
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687417#FFFFFF#000000##FFFFFF
##6874171.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#6F6D63
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #687417;
/* rgb */ color: rgb(104, 116, 23);
/* oklch */ color: oklch(53.1% 0.113 117.0);
Tailwind
colors: {
  custom: {
    50: '#969b5d',
    500: '#687417',
    950: '#000000',
  },
}
SCSS
$custom: #687417;
$custom-light: #969b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#687417",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 67.742,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.53132,
    "c": 0.11308,
    "h": 117
  },
  "luminance": 0.15496
}

Semantic roles & 50–950 ramp

primary
#687417
secondary
#4B3DA9
accent
#3EEA54
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687417

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

Preview Lab → · Contrast checker → · Palette generator →

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