#687D17#687D17

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

Color values

HEX#687D17
RGBrgb(104, 125, 23)
HSLhsl(72, 69%, 29%)
HSVhsv(72, 82%, 49%)
CMYKcmyk(16.8%, 0%, 81.6%, 51%)
CIE-LABlab(49.10, -21.67, 48.48)
CIE-LCHlch(49.10, 53.11, 114.09°)
OKLaboklab(55.38% -0.0643 0.1062)
OKLCHoklch(55.38% 0.124 121.2)
XYZxyz(13.1974, 17.6722, 3.5262)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687D17 #2C177D
analogous
#7D5F17 #687D17 #357D17
triadic
#687D17 #17687D #7D1768
tetradic
#687D17 #177D5F #2C177D #7D1735
square
#687D17 #177D5F #2C177D #7D1735
split-complementary
#687D17 #17357D #5F177D
monochromatic
#161A05 #3D490D #687D17 #93B121 #B8DA35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##687D17#FFFFFF#000000##FFFFFF
##687D171.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: #687d17;
/* rgb */ color: rgb(104, 125, 23);
/* oklch */ color: oklch(55.4% 0.124 121.2);
Tailwind
colors: {
  custom: {
    50: '#96a25e',
    500: '#687d17',
    950: '#000000',
  },
}
SCSS
$custom: #687d17;
$custom-light: #96a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#687d17",
  "rgb": {
    "r": 104,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 72.353,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5538,
    "c": 0.12409,
    "h": 121.2
  },
  "luminance": 0.17672
}

Semantic roles & 50–950 ramp

primary
#687D17
secondary
#563EB2
accent
#3CEC60
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #687D17

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

Preview Lab → · Contrast checker → · Palette generator →

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