#687A16#687A16

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

Color values

HEX#687A16
RGBrgb(104, 122, 22)
HSLhsl(71, 69%, 28%)
HSVhsv(71, 82%, 48%)
CMYKcmyk(14.8%, 0%, 82%, 52.2%)
CIE-LABlab(48.16, -20.17, 47.95)
CIE-LCHlch(48.16, 52.02, 112.81°)
OKLaboklab(54.62% -0.0602 0.1048)
OKLCHoklch(54.62% 0.121 119.9)
XYZxyz(12.8135, 16.9201, 3.3498)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687A16 #28167A
analogous
#7A5A16 #687A16 #367A16
triadic
#687A16 #16687A #7A1668
tetradic
#687A16 #167A5A #28167A #7A1636
square
#687A16 #167A5A #28167A #7A1636
split-complementary
#687A16 #16367A #5A167A
monochromatic
#161A05 #3C460D #687A16 #94AE1F #BBDA31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##687A16#FFFFFF#000000##FFFFFF
##687A161.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)
#807320
Tritanopia (blue-blind)
#6E7368
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #687a16;
/* rgb */ color: rgb(104, 122, 22);
/* oklch */ color: oklch(54.6% 0.121 119.9);
Tailwind
colors: {
  custom: {
    50: '#96a05d',
    500: '#687a16',
    950: '#000000',
  },
}
SCSS
$custom: #687a16;
$custom-light: #96a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#687a16",
  "rgb": {
    "r": 104,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 70.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54622,
    "c": 0.12091,
    "h": 119.9
  },
  "luminance": 0.1692
}

Semantic roles & 50–950 ramp

primary
#687A16
secondary
#513DAF
accent
#3CEC5B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687A16

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

Preview Lab → · Contrast checker → · Palette generator →

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