#687B16#687B16

#687B16 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#687B16
RGBrgb(104, 123, 22)
HSLhsl(71, 70%, 28%)
HSVhsv(71, 82%, 48%)
CMYKcmyk(15.4%, 0%, 82.1%, 51.8%)
CIE-LABlab(48.47, -20.69, 48.23)
CIE-LCHlch(48.47, 52.48, 113.22°)
OKLaboklab(54.87% -0.0616 0.1054)
OKLCHoklch(54.87% 0.122 120.3)
XYZxyz(12.9370, 17.1669, 3.3909)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687B16 #29167B
analogous
#7B5B16 #687B16 #357B16
triadic
#687B16 #16687B #7B1668
tetradic
#687B16 #167B5B #29167B #7B1635
square
#687B16 #167B5B #29167B #7B1635
split-complementary
#687B16 #16357B #5B167B
monochromatic
#161A05 #3C470D #687B16 #94AF1F #BADA31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##687B16#FFFFFF#000000##FFFFFF
##687B161.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)
#817320
Tritanopia (blue-blind)
#6E7469
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #687b16;
/* rgb */ color: rgb(104, 123, 22);
/* oklch */ color: oklch(54.9% 0.122 120.3);
Tailwind
colors: {
  custom: {
    50: '#96a15d',
    500: '#687b16',
    950: '#000000',
  },
}
SCSS
$custom: #687b16;
$custom-light: #96a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#687b16",
  "rgb": {
    "r": 104,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 71.287,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54873,
    "c": 0.12213,
    "h": 120.3
  },
  "luminance": 0.17167
}

Semantic roles & 50–950 ramp

primary
#687B16
secondary
#523DB0
accent
#3BEC5D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687B16

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

Preview Lab → · Contrast checker → · Palette generator →

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