#687917#687917

#687917 is a mid, moderate yellow-green. Relative luminance 0.167; OKLCH L 54.4% C 0.119 H 119.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#687917
RGBrgb(104, 121, 23)
HSLhsl(70, 68%, 28%)
HSVhsv(70, 81%, 47%)
CMYKcmyk(14%, 0%, 81%, 52.5%)
CIE-LABlab(47.85, -19.61, 47.36)
CIE-LCHlch(47.85, 51.25, 112.49°)
OKLaboklab(54.38% -0.0586 0.1038)
OKLCHoklch(54.38% 0.119 119.5)
XYZxyz(12.7012, 16.6797, 3.3608)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687917 #281779
analogous
#795917 #687917 #377917
triadic
#687917 #176879 #791768
tetradic
#687917 #177959 #281779 #791737
square
#687917 #177959 #281779 #791737
split-complementary
#687917 #173779 #591779
monochromatic
#161A05 #3C460D #687917 #94AC21 #BBD832

Accessibility & contrast

On white

4.84
#687917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#687917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687917
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687917#FFFFFF#000000##FFFFFF
##6879171.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#7F7221
Tritanopia (blue-blind)
#6F7267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #687917;
/* rgb */ color: rgb(104, 121, 23);
/* oklch */ color: oklch(54.4% 0.119 119.5);
Tailwind
colors: {
  custom: {
    50: '#969f5e',
    500: '#687917',
    950: '#000000',
  },
}
SCSS
$custom: #687917;
$custom-light: #969f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#687917",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 70.408,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54378,
    "c": 0.11917,
    "h": 119.5
  },
  "luminance": 0.1668
}

Semantic roles & 50–950 ramp

primary
#687917
secondary
#513EAE
accent
#3DEB5B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687917

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

Preview Lab → · Contrast checker → · Palette generator →

#687917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva