#687E18#687E18

#687E18 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.6% C 0.125 H 121.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#687E18
RGBrgb(104, 126, 24)
HSLhsl(73, 68%, 29%)
HSVhsv(73, 81%, 49%)
CMYKcmyk(17.5%, 0%, 81%, 50.6%)
CIE-LABlab(49.41, -22.14, 48.45)
CIE-LCHlch(49.41, 53.27, 114.56°)
OKLaboklab(55.64% -0.0655 0.1063)
OKLCHoklch(55.64% 0.125 121.6)
XYZxyz(13.3349, 17.9307, 3.6224)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687E18 #2E187E
analogous
#7E6118 #687E18 #357E18
triadic
#687E18 #18687E #7E1868
tetradic
#687E18 #187E61 #2E187E #7E1835
square
#687E18 #187E61 #2E187E #7E1835
split-complementary
#687E18 #18357E #61187E
monochromatic
#151A05 #3E4B0E #687E18 #92B122 #B6D937

Accessibility & contrast

On white

4.58
#687E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#687E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #687E18
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687E18#FFFFFF#000000##000000
##687E181.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#6E776B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #687e18;
/* rgb */ color: rgb(104, 126, 24);
/* oklch */ color: oklch(55.6% 0.125 121.6);
Tailwind
colors: {
  custom: {
    50: '#96a35f',
    500: '#687e18',
    950: '#000000',
  },
}
SCSS
$custom: #687e18;
$custom-light: #96a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#687e18",
  "rgb": {
    "r": 104,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 72.941,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55636,
    "c": 0.12482,
    "h": 121.6
  },
  "luminance": 0.17931
}

Semantic roles & 50–950 ramp

primary
#687E18
secondary
#583FB2
accent
#3DEB62
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #687E18

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

Preview Lab → · Contrast checker → · Palette generator →

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