#687B15#687B15

#687B15 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.9% C 0.123 H 120.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#687B15
RGBrgb(104, 123, 21)
HSLhsl(71, 71%, 28%)
HSVhsv(71, 83%, 48%)
CMYKcmyk(15.4%, 0%, 82.9%, 51.8%)
CIE-LABlab(48.47, -20.73, 48.53)
CIE-LCHlch(48.47, 52.77, 113.13°)
OKLaboklab(54.87% -0.0618 0.1059)
OKLCHoklch(54.87% 0.123 120.3)
XYZxyz(12.9275, 17.1632, 3.3411)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687B15 #28157B
analogous
#7B5B15 #687B15 #357B15
triadic
#687B15 #15687B #7B1568
tetradic
#687B15 #157B5B #28157B #7B1535
square
#687B15 #157B5B #28157B #7B1535
split-complementary
#687B15 #15357B #5B157B
monochromatic
#161A04 #3C470C #687B15 #94AF1E #BBDB2F

Accessibility & contrast

On white

4.74
#687B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#687B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687B15
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687B15#FFFFFF#000000##FFFFFF
##687B151.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#6E7469
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #687b15;
/* rgb */ color: rgb(104, 123, 21);
/* oklch */ color: oklch(54.9% 0.123 120.3);
Tailwind
colors: {
  custom: {
    50: '#96a15d',
    500: '#687b15',
    950: '#000000',
  },
}
SCSS
$custom: #687b15;
$custom-light: #96a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#687b15",
  "rgb": {
    "r": 104,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 71.176,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.12262,
    "h": 120.3
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

primary
#687B15
secondary
#513BB0
accent
#3AEE5C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687B15

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

Preview Lab → · Contrast checker → · Palette generator →

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