#687B17#687B17

#687B17 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.9% C 0.122 H 120.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#687B17
RGBrgb(104, 123, 23)
HSLhsl(71, 68%, 29%)
HSVhsv(71, 81%, 48%)
CMYKcmyk(15.4%, 0%, 81.3%, 51.8%)
CIE-LABlab(48.47, -20.64, 47.92)
CIE-LCHlch(48.47, 52.18, 113.31°)
OKLaboklab(54.88% -0.0614 0.105)
OKLCHoklch(54.88% 0.122 120.3)
XYZxyz(12.9468, 17.1709, 3.4427)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687B17 #2A177B
analogous
#7B5C17 #687B17 #367B17
triadic
#687B17 #17687B #7B1768
tetradic
#687B17 #177B5C #2A177B #7B1736
square
#687B17 #177B5C #2A177B #7B1736
split-complementary
#687B17 #17367B #5C177B
monochromatic
#161A05 #3C470D #687B17 #94AF21 #B9D933

Accessibility & contrast

On white

4.74
#687B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#687B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687B17
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687B17#FFFFFF#000000##FFFFFF
##687B171.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#817321
Tritanopia (blue-blind)
#6E7469
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #687b17;
/* rgb */ color: rgb(104, 123, 23);
/* oklch */ color: oklch(54.9% 0.122 120.3);
Tailwind
colors: {
  custom: {
    50: '#96a15e',
    500: '#687b17',
    950: '#000000',
  },
}
SCSS
$custom: #687b17;
$custom-light: #96a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#687b17",
  "rgb": {
    "r": 104,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 71.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54878,
    "c": 0.12162,
    "h": 120.3
  },
  "luminance": 0.17171
}

Semantic roles & 50–950 ramp

primary
#687B17
secondary
#543EB0
accent
#3CEB5E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687B17

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

Preview Lab → · Contrast checker → · Palette generator →

#687B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva