#687A15#687A15

#687A15 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.6% C 0.121 H 119.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#687A15
RGBrgb(104, 122, 21)
HSLhsl(71, 71%, 28%)
HSVhsv(71, 83%, 48%)
CMYKcmyk(14.8%, 0%, 82.8%, 52.2%)
CIE-LABlab(48.15, -20.21, 48.25)
CIE-LCHlch(48.15, 52.32, 112.73°)
OKLaboklab(54.62% -0.0604 0.1053)
OKLCHoklch(54.62% 0.121 119.9)
XYZxyz(12.8041, 16.9163, 3.3000)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687A15 #27157A
analogous
#7A5915 #687A15 #357A15
triadic
#687A15 #15687A #7A1568
tetradic
#687A15 #157A59 #27157A #7A1535
square
#687A15 #157A59 #27157A #7A1535
split-complementary
#687A15 #15357A #59157A
monochromatic
#161A04 #3B460C #687A15 #95AE1E #BCDB2E

Accessibility & contrast

On white

4.79
#687A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#687A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687A15
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687A15#FFFFFF#000000##FFFFFF
##687A151.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#80731F
Tritanopia (blue-blind)
#6F7368
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #687a15;
/* rgb */ color: rgb(104, 122, 21);
/* oklch */ color: oklch(54.6% 0.121 119.9);
Tailwind
colors: {
  custom: {
    50: '#96a05d',
    500: '#687a15',
    950: '#000000',
  },
}
SCSS
$custom: #687a15;
$custom-light: #96a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#687a15",
  "rgb": {
    "r": 104,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 70.693,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54617,
    "c": 0.12141,
    "h": 119.9
  },
  "luminance": 0.16916
}

Semantic roles & 50–950 ramp

primary
#687A15
secondary
#503BAF
accent
#3AED5A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687A15

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

Preview Lab → · Contrast checker → · Palette generator →

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