#687A17#687A17

#687A17 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.6% C 0.120 H 119.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#687A17
RGBrgb(104, 122, 23)
HSLhsl(71, 68%, 28%)
HSVhsv(71, 81%, 48%)
CMYKcmyk(14.8%, 0%, 81.1%, 52.2%)
CIE-LABlab(48.16, -20.13, 47.64)
CIE-LCHlch(48.16, 51.71, 112.90°)
OKLaboklab(54.63% -0.06 0.1044)
OKLCHoklch(54.63% 0.12 119.9)
XYZxyz(12.8234, 16.9240, 3.4016)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687A17 #29177A
analogous
#7A5A17 #687A17 #367A17
triadic
#687A17 #17687A #7A1768
tetradic
#687A17 #177A5A #29177A #7A1736
square
#687A17 #177A5A #29177A #7A1736
split-complementary
#687A17 #17367A #5A177A
monochromatic
#161A05 #3C470D #687A17 #94AD21 #BAD933

Accessibility & contrast

On white

4.79
#687A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#687A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687A17
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687A17#FFFFFF#000000##FFFFFF
##687A171.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#807321
Tritanopia (blue-blind)
#6E7368
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #687a17;
/* rgb */ color: rgb(104, 122, 23);
/* oklch */ color: oklch(54.6% 0.120 119.9);
Tailwind
colors: {
  custom: {
    50: '#96a05e',
    500: '#687a17',
    950: '#000000',
  },
}
SCSS
$custom: #687a17;
$custom-light: #96a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#687a17",
  "rgb": {
    "r": 104,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 70.909,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54628,
    "c": 0.12038,
    "h": 119.9
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

primary
#687A17
secondary
#523EAF
accent
#3DEB5C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687A17

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

Preview Lab → · Contrast checker → · Palette generator →

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