#687D22#687D22

#687D22 is a mid, moderate yellow-green. Relative luminance 0.177; OKLCH L 55.5% C 0.117 H 121.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#687D22
RGBrgb(104, 125, 34)
HSLhsl(74, 57%, 31%)
HSVhsv(74, 73%, 49%)
CMYKcmyk(16.8%, 0%, 72.8%, 51%)
CIE-LABlab(49.16, -21.08, 44.60)
CIE-LCHlch(49.16, 49.33, 115.30°)
OKLaboklab(55.45% -0.0617 0.0999)
OKLCHoklch(55.45% 0.117 121.7)
XYZxyz(13.3315, 17.7258, 4.2322)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687D22 #37227D
analogous
#7D6422 #687D22 #3A7D22
triadic
#687D22 #22687D #7D2268
tetradic
#687D22 #227D64 #37227D #7D223A
square
#687D22 #227D64 #37227D #7D223A
split-complementary
#687D22 #223A7D #64227D
monochromatic
#181D08 #404D15 #687D22 #90AD2F #B0CE4B

Accessibility & contrast

On white

4.62
#687D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#687D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #687D22
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687D22#FFFFFF#000000##FFFFFF
##687D221.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857513
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#6E766B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #687d22;
/* rgb */ color: rgb(104, 125, 34);
/* oklch */ color: oklch(55.5% 0.117 121.7);
Tailwind
colors: {
  custom: {
    50: '#96a263',
    500: '#687d22',
    950: '#000000',
  },
}
SCSS
$custom: #687d22;
$custom-light: #96a263;
$custom-dark: #000000;
JSON
{
  "hex": "#687d22",
  "rgb": {
    "r": 104,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 73.846,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55454,
    "c": 0.11742,
    "h": 121.7
  },
  "luminance": 0.17726
}

Semantic roles & 50–950 ramp

primary
#687D22
secondary
#624BB0
accent
#47E06B
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #687D22

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

Preview Lab → · Contrast checker → · Palette generator →

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