#687A18#687A18

#687A18 is a mid, moderate 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#687A18
RGBrgb(104, 122, 24)
HSLhsl(71, 67%, 29%)
HSVhsv(71, 80%, 48%)
CMYKcmyk(14.8%, 0%, 80.3%, 52.2%)
CIE-LABlab(48.17, -20.08, 47.32)
CIE-LCHlch(48.17, 51.40, 113.00°)
OKLaboklab(54.63% -0.0598 0.1039)
OKLCHoklch(54.63% 0.12 119.9)
XYZxyz(12.8336, 16.9281, 3.4553)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687A18 #2A187A
analogous
#7A5B18 #687A18 #377A18
triadic
#687A18 #18687A #7A1868
tetradic
#687A18 #187A5B #2A187A #7A1837
square
#687A18 #187A5B #2A187A #7A1837
split-complementary
#687A18 #18377A #5B187A
monochromatic
#161A05 #3C470E #687A18 #94AD22 #B9D735

Accessibility & contrast

On white

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

On black

4.39
#687A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##687A18#FFFFFF#000000##FFFFFF
##687A181.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.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: #687a18;
/* rgb */ color: rgb(104, 122, 24);
/* oklch */ color: oklch(54.6% 0.120 119.9);
Tailwind
colors: {
  custom: {
    50: '#96a05e',
    500: '#687a18',
    950: '#000000',
  },
}
SCSS
$custom: #687a18;
$custom-light: #96a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#687a18",
  "rgb": {
    "r": 104,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 71.02,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54634,
    "c": 0.11986,
    "h": 119.9
  },
  "luminance": 0.16928
}

Semantic roles & 50–950 ramp

primary
#687A18
secondary
#543FAF
accent
#3EEA5D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687A18

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

Preview Lab → · Contrast checker → · Palette generator →

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