#687F12#687F12

#687F12 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.9% C 0.129 H 121.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#687F12
RGBrgb(104, 127, 18)
HSLhsl(73, 75%, 28%)
HSVhsv(73, 86%, 50%)
CMYKcmyk(18.1%, 0%, 85.8%, 50.2%)
CIE-LABlab(49.70, -22.89, 50.46)
CIE-LCHlch(49.70, 55.41, 114.40°)
OKLaboklab(55.86% -0.068 0.1095)
OKLCHoklch(55.86% 0.129 121.8)
XYZxyz(13.4077, 18.1655, 3.3721)
Luminance0.1817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687F12 #29127F
analogous
#7F5F12 #687F12 #317F12
triadic
#687F12 #12687F #7F1268
tetradic
#687F12 #127F5F #29127F #7F1231
square
#687F12 #127F5F #29127F #7F1231
split-complementary
#687F12 #12317F #5F127F
monochromatic
#161B04 #3C490A #687F12 #94B51A #BAE12B

Accessibility & contrast

On white

4.53
#687F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#687F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #687F12
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687F12#FFFFFF#000000##000000
##687F121.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#84761E
Tritanopia (blue-blind)
#6E786C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #687f12;
/* rgb */ color: rgb(104, 127, 18);
/* oklch */ color: oklch(55.9% 0.129 121.8);
Tailwind
colors: {
  custom: {
    50: '#97a45d',
    500: '#687f12',
    950: '#000000',
  },
}
SCSS
$custom: #687f12;
$custom-light: #97a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#687f12",
  "rgb": {
    "r": 104,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 72.661,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55857,
    "c": 0.12887,
    "h": 121.8
  },
  "luminance": 0.18165
}

Semantic roles & 50–950 ramp

primary
#687F12
secondary
#5238B5
accent
#36F25E
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #687F12

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

Preview Lab → · Contrast checker → · Palette generator →

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