#687F17#687F17

#687F17 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.9% C 0.127 H 122.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#687F17
RGBrgb(104, 127, 23)
HSLhsl(73, 69%, 29%)
HSVhsv(73, 82%, 50%)
CMYKcmyk(18.1%, 0%, 81.9%, 50.2%)
CIE-LABlab(49.72, -22.69, 49.05)
CIE-LCHlch(49.72, 54.04, 114.83°)
OKLaboklab(55.88% -0.0671 0.1073)
OKLCHoklch(55.88% 0.127 122)
XYZxyz(13.4532, 18.1836, 3.6115)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687F17 #2E177F
analogous
#7F6217 #687F17 #347F17
triadic
#687F17 #17687F #7F1768
tetradic
#687F17 #177F62 #2E177F #7F1734
square
#687F17 #177F62 #2E177F #7F1734
split-complementary
#687F17 #17347F #62177F
monochromatic
#151A05 #3E4B0E #687F17 #92B320 #B6DB36

Accessibility & contrast

On white

4.53
#687F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#687F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #687F17
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687F17#FFFFFF#000000##000000
##687F171.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#6E786C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #687f17;
/* rgb */ color: rgb(104, 127, 23);
/* oklch */ color: oklch(55.9% 0.127 122.0);
Tailwind
colors: {
  custom: {
    50: '#96a45e',
    500: '#687f17',
    950: '#000000',
  },
}
SCSS
$custom: #687f17;
$custom-light: #96a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#687f17",
  "rgb": {
    "r": 104,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 73.269,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55882,
    "c": 0.12657,
    "h": 122
  },
  "luminance": 0.18184
}

Semantic roles & 50–950 ramp

primary
#687F17
secondary
#583EB4
accent
#3CEC63
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #687F17

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

Preview Lab → · Contrast checker → · Palette generator →

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