#687E12#687E12

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

Color values

HEX#687E12
RGBrgb(104, 126, 18)
HSLhsl(72, 75%, 28%)
HSVhsv(72, 86%, 49%)
CMYKcmyk(17.5%, 0%, 85.7%, 50.6%)
CIE-LABlab(49.38, -22.38, 50.19)
CIE-LCHlch(49.38, 54.96, 114.04°)
OKLaboklab(55.61% -0.0666 0.1089)
OKLCHoklch(55.61% 0.128 121.4)
XYZxyz(13.2792, 17.9084, 3.3292)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687E12 #28127E
analogous
#7E5E12 #687E12 #327E12
triadic
#687E12 #12687E #7E1268
tetradic
#687E12 #127E5E #28127E #7E1232
square
#687E12 #127E5E #28127E #7E1232
split-complementary
#687E12 #12327E #5E127E
monochromatic
#161B04 #3C480A #687E12 #94B41A #BBE12A

Accessibility & contrast

On white

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

On black

4.58
#687E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #687E12
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687E12#FFFFFF#000000##000000
##687E121.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #687e12;
/* rgb */ color: rgb(104, 126, 18);
/* oklch */ color: oklch(55.6% 0.128 121.4);
Tailwind
colors: {
  custom: {
    50: '#97a35c',
    500: '#687e12',
    950: '#000000',
  },
}
SCSS
$custom: #687e12;
$custom-light: #97a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#687e12",
  "rgb": {
    "r": 104,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 72.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.12764,
    "h": 121.4
  },
  "luminance": 0.17908
}

Semantic roles & 50–950 ramp

primary
#687E12
secondary
#5138B4
accent
#36F25C
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #687E12

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

Preview Lab → · Contrast checker → · Palette generator →

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