#687B14#687B14

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

Color values

HEX#687B14
RGBrgb(104, 123, 20)
HSLhsl(71, 72%, 28%)
HSVhsv(71, 84%, 48%)
CMYKcmyk(15.4%, 0%, 83.7%, 51.8%)
CIE-LABlab(48.46, -20.77, 48.83)
CIE-LCHlch(48.46, 53.06, 113.05°)
OKLaboklab(54.86% -0.062 0.1063)
OKLCHoklch(54.86% 0.123 120.3)
XYZxyz(12.9184, 17.1595, 3.2932)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687B14 #27147B
analogous
#7B5A14 #687B14 #347B14
triadic
#687B14 #14687B #7B1468
tetradic
#687B14 #147B5A #27147B #7B1434
square
#687B14 #147B5A #27147B #7B1434
split-complementary
#687B14 #14347B #5A147B
monochromatic
#161A04 #3B460B #687B14 #95B01D #BCDD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##687B14#FFFFFF#000000##FFFFFF
##687B141.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)
#81731F
Tritanopia (blue-blind)
#6E7468
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #687b14;
/* rgb */ color: rgb(104, 123, 20);
/* oklch */ color: oklch(54.9% 0.123 120.3);
Tailwind
colors: {
  custom: {
    50: '#96a15d',
    500: '#687b14',
    950: '#000000',
  },
}
SCSS
$custom: #687b14;
$custom-light: #96a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#687b14",
  "rgb": {
    "r": 104,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 71.068,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54862,
    "c": 0.12311,
    "h": 120.3
  },
  "luminance": 0.17159
}

Semantic roles & 50–950 ramp

primary
#687B14
secondary
#503AB1
accent
#39EF5B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687B14

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

Preview Lab → · Contrast checker → · Palette generator →

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