#687828#687828

#687828 is a mid, moderate yellow-green. Relative luminance 0.165; OKLCH L 54.3% C 0.106 H 119.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#687828
RGBrgb(104, 120, 40)
HSLhsl(72, 50%, 31%)
HSVhsv(72, 67%, 47%)
CMYKcmyk(13.3%, 0%, 66.7%, 52.9%)
CIE-LABlab(47.66, -18.06, 40.50)
CIE-LCHlch(47.66, 44.34, 114.03°)
OKLaboklab(54.26% -0.0527 0.0923)
OKLCHoklch(54.26% 0.106 119.7)
XYZxyz(12.8086, 16.5293, 4.5228)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687828 #382878
analogous
#786028 #687828 #407828
triadic
#687828 #286878 #782868
tetradic
#687828 #287860 #382878 #782840
square
#687828 #287860 #382878 #782840
split-complementary
#687828 #284078 #602878
monochromatic
#181C09 #404A19 #687828 #90A637 #AFC654

Accessibility & contrast

On white

4.88
#687828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#687828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687828
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687828#FFFFFF#000000##FFFFFF
##6878281.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711E
Deuteranopia (green-blind)
#7E712E
Tritanopia (blue-blind)
#6E7267
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #687828;
/* rgb */ color: rgb(104, 120, 40);
/* oklch */ color: oklch(54.3% 0.106 119.7);
Tailwind
colors: {
  custom: {
    50: '#959f66',
    500: '#687828',
    950: '#000000',
  },
}
SCSS
$custom: #687828;
$custom-light: #959f66;
$custom-dark: #000000;
JSON
{
  "hex": "#687828",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 72,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5426,
    "c": 0.10624,
    "h": 119.7
  },
  "luminance": 0.16529
}

Semantic roles & 50–950 ramp

primary
#687828
secondary
#6352AA
accent
#4EDA6A
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E06
muted
#7E7E7A

Preview Lab

Preview with #687828

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

Preview Lab → · Contrast checker → · Palette generator →

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