#687D1B#687D1B

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

Color values

HEX#687D1B
RGBrgb(104, 125, 27)
HSLhsl(73, 64%, 30%)
HSVhsv(73, 78%, 49%)
CMYKcmyk(16.8%, 0%, 78.4%, 51%)
CIE-LABlab(49.12, -21.48, 47.18)
CIE-LCHlch(49.12, 51.84, 114.48°)
OKLaboklab(55.4% -0.0634 0.1041)
OKLCHoklch(55.4% 0.122 121.3)
XYZxyz(13.2406, 17.6894, 3.7536)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687D1B #301B7D
analogous
#7D611B #687D1B #377D1B
triadic
#687D1B #1B687D #7D1B68
tetradic
#687D1B #1B7D61 #301B7D #7D1B37
square
#687D1B #1B7D61 #301B7D #7D1B37
split-complementary
#687D1B #1B377D #611B7D
monochromatic
#151905 #3E4B10 #687D1B #92AF26 #B5D53D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##687D1B#FFFFFF#000000##FFFFFF
##687D1B1.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)
#857504
Deuteranopia (green-blind)
#827524
Tritanopia (blue-blind)
#6E766B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #687d1b;
/* rgb */ color: rgb(104, 125, 27);
/* oklch */ color: oklch(55.4% 0.122 121.3);
Tailwind
colors: {
  custom: {
    50: '#96a260',
    500: '#687d1b',
    950: '#000000',
  },
}
SCSS
$custom: #687d1b;
$custom-light: #96a260;
$custom-dark: #000000;
JSON
{
  "hex": "#687d1b",
  "rgb": {
    "r": 104,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 72.857,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55404,
    "c": 0.12191,
    "h": 121.3
  },
  "luminance": 0.17689
}

Semantic roles & 50–950 ramp

primary
#687D1B
secondary
#5A43B1
accent
#40E764
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #687D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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