#687D16#687D16

#687D16 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.4% C 0.125 H 121.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#687D16
RGBrgb(104, 125, 22)
HSLhsl(72, 70%, 29%)
HSVhsv(72, 82%, 49%)
CMYKcmyk(16.8%, 0%, 82.4%, 51%)
CIE-LABlab(49.09, -21.72, 48.79)
CIE-LCHlch(49.09, 53.40, 113.99°)
OKLaboklab(55.37% -0.0645 0.1066)
OKLCHoklch(55.37% 0.125 121.2)
XYZxyz(13.1876, 17.6682, 3.4745)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687D16 #2B167D
analogous
#7D5F16 #687D16 #357D16
triadic
#687D16 #16687D #7D1668
tetradic
#687D16 #167D5F #2B167D #7D1635
square
#687D16 #167D5F #2B167D #7D1635
split-complementary
#687D16 #16357D #5F167D
monochromatic
#161A05 #3D490D #687D16 #93B11F #B9DB32

Accessibility & contrast

On white

4.63
#687D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#687D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #687D16
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687D16#FFFFFF#000000##FFFFFF
##687D161.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#6E766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #687d16;
/* rgb */ color: rgb(104, 125, 22);
/* oklch */ color: oklch(55.4% 0.125 121.2);
Tailwind
colors: {
  custom: {
    50: '#96a25e',
    500: '#687d16',
    950: '#000000',
  },
}
SCSS
$custom: #687d16;
$custom-light: #96a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#687d16",
  "rgb": {
    "r": 104,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 72.233,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55374,
    "c": 0.1246,
    "h": 121.2
  },
  "luminance": 0.17668
}

Semantic roles & 50–950 ramp

primary
#687D16
secondary
#553DB2
accent
#3BED5F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #687D16

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

Preview Lab → · Contrast checker → · Palette generator →

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