#687818#687818

#687818 is a mid, moderate yellow-green. Relative luminance 0.164; OKLCH L 54.1% C 0.117 H 119.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#687818
RGBrgb(104, 120, 24)
HSLhsl(70, 67%, 28%)
HSVhsv(70, 80%, 47%)
CMYKcmyk(13.3%, 0%, 80%, 52.9%)
CIE-LABlab(47.55, -19.04, 46.75)
CIE-LCHlch(47.55, 50.47, 112.16°)
OKLaboklab(54.13% -0.057 0.1027)
OKLCHoklch(54.13% 0.117 119)
XYZxyz(12.5905, 16.4420, 3.3743)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687818 #281878
analogous
#785818 #687818 #387818
triadic
#687818 #186878 #781868
tetradic
#687818 #187858 #281878 #781838
square
#687818 #187858 #281878 #781838
split-complementary
#687818 #183878 #581878
monochromatic
#161A05 #3C450E #687818 #94AB22 #BBD634

Accessibility & contrast

On white

4.90
#687818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#687818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687818
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687818#FFFFFF#000000##FFFFFF
##6878181.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#7E7121
Tritanopia (blue-blind)
#6F7166
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #687818;
/* rgb */ color: rgb(104, 120, 24);
/* oklch */ color: oklch(54.1% 0.117 119.0);
Tailwind
colors: {
  custom: {
    50: '#969e5e',
    500: '#687818',
    950: '#000000',
  },
}
SCSS
$custom: #687818;
$custom-light: #969e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#687818",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 70,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54134,
    "c": 0.11739,
    "h": 119
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

primary
#687818
secondary
#513FAD
accent
#3EEA5B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687818

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

Preview Lab → · Contrast checker → · Palette generator →

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