#687D18#687D18

#687D18 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.4% C 0.124 H 121.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#687D18
RGBrgb(104, 125, 24)
HSLhsl(72, 68%, 29%)
HSVhsv(72, 81%, 49%)
CMYKcmyk(16.8%, 0%, 80.8%, 51%)
CIE-LABlab(49.10, -21.63, 48.17)
CIE-LCHlch(49.10, 52.80, 114.18°)
OKLaboklab(55.39% -0.0641 0.1057)
OKLCHoklch(55.39% 0.124 121.2)
XYZxyz(13.2076, 17.6762, 3.5800)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687D18 #2D187D
analogous
#7D6018 #687D18 #367D18
triadic
#687D18 #18687D #7D1868
tetradic
#687D18 #187D60 #2D187D #7D1836
square
#687D18 #187D60 #2D187D #7D1836
split-complementary
#687D18 #18367D #60187D
monochromatic
#151A05 #3D4A0E #687D18 #93B022 #B7D937

Accessibility & contrast

On white

4.63
#687D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#687D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #687D18
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687D18#FFFFFF#000000##FFFFFF
##687D181.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#6E766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #687d18;
/* rgb */ color: rgb(104, 125, 24);
/* oklch */ color: oklch(55.4% 0.124 121.2);
Tailwind
colors: {
  custom: {
    50: '#96a25f',
    500: '#687d18',
    950: '#000000',
  },
}
SCSS
$custom: #687d18;
$custom-light: #96a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#687d18",
  "rgb": {
    "r": 104,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 72.475,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55385,
    "c": 0.12358,
    "h": 121.2
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#687D18
secondary
#573FB2
accent
#3DEB61
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #687D18

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

Preview Lab → · Contrast checker → · Palette generator →

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