#687918#687918

#687918 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#687918
RGBrgb(104, 121, 24)
HSLhsl(71, 67%, 28%)
HSVhsv(71, 80%, 47%)
CMYKcmyk(14%, 0%, 80.2%, 52.5%)
CIE-LABlab(47.86, -19.56, 47.03)
CIE-LCHlch(47.86, 50.94, 112.58°)
OKLaboklab(54.38% -0.0584 0.1033)
OKLCHoklch(54.38% 0.119 119.5)
XYZxyz(12.7114, 16.6838, 3.4146)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687918 #291879
analogous
#795918 #687918 #377918
triadic
#687918 #186879 #791868
tetradic
#687918 #187959 #291879 #791837
square
#687918 #187959 #291879 #791837
split-complementary
#687918 #183779 #591879
monochromatic
#161A05 #3C460E #687918 #94AC22 #BAD735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##687918#FFFFFF#000000##FFFFFF
##6879181.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: #687918;
/* rgb */ color: rgb(104, 121, 24);
/* oklch */ color: oklch(54.4% 0.119 119.5);
Tailwind
colors: {
  custom: {
    50: '#969f5e',
    500: '#687918',
    950: '#000000',
  },
}
SCSS
$custom: #687918;
$custom-light: #969f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#687918",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 70.515,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54384,
    "c": 0.11862,
    "h": 119.5
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#687918
secondary
#523FAE
accent
#3EEA5C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687918

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

Preview Lab → · Contrast checker → · Palette generator →

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