#687E22#687E22

#687E22 is a mid, moderate yellow-green. Relative luminance 0.180; OKLCH L 55.7% C 0.119 H 122.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#687E22
RGBrgb(104, 126, 34)
HSLhsl(74, 58%, 31%)
HSVhsv(74, 73%, 49%)
CMYKcmyk(17.5%, 0%, 73%, 50.6%)
CIE-LABlab(49.47, -21.60, 44.91)
CIE-LCHlch(49.47, 49.83, 115.68°)
OKLaboklab(55.7% -0.0631 0.1006)
OKLCHoklch(55.7% 0.119 122.1)
XYZxyz(13.4587, 17.9802, 4.2746)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687E22 #38227E
analogous
#7E6622 #687E22 #3A7E22
triadic
#687E22 #22687E #7E2268
tetradic
#687E22 #227E66 #38227E #7E223A
square
#687E22 #227E66 #38227E #7E223A
split-complementary
#687E22 #223A7E #66227E
monochromatic
#181E08 #404E15 #687E22 #90AE2F #AFCF4C

Accessibility & contrast

On white

4.57
#687E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#687E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #687E22
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687E22#FFFFFF#000000##000000
##687E221.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867612
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#6E776C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #687e22;
/* rgb */ color: rgb(104, 126, 34);
/* oklch */ color: oklch(55.7% 0.119 122.1);
Tailwind
colors: {
  custom: {
    50: '#96a364',
    500: '#687e22',
    950: '#000000',
  },
}
SCSS
$custom: #687e22;
$custom-light: #96a364;
$custom-dark: #000000;
JSON
{
  "hex": "#687e22",
  "rgb": {
    "r": 104,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 74.348,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55704,
    "c": 0.11872,
    "h": 122.1
  },
  "luminance": 0.1798
}

Semantic roles & 50–950 ramp

primary
#687E22
secondary
#634BB1
accent
#47E16C
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #687E22

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

Preview Lab → · Contrast checker → · Palette generator →

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