#687D12#687D12

#687D12 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.4% C 0.126 H 121.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#687D12
RGBrgb(104, 125, 18)
HSLhsl(72, 75%, 28%)
HSVhsv(72, 86%, 49%)
CMYKcmyk(16.8%, 0%, 85.6%, 51%)
CIE-LABlab(49.07, -21.87, 49.92)
CIE-LCHlch(49.07, 54.51, 113.66°)
OKLaboklab(55.36% -0.0652 0.1083)
OKLCHoklch(55.36% 0.126 121)
XYZxyz(13.1520, 17.6540, 3.2868)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687D12 #27127D
analogous
#7D5C12 #687D12 #327D12
triadic
#687D12 #12687D #7D1268
tetradic
#687D12 #127D5C #27127D #7D1232
square
#687D12 #127D5C #27127D #7D1232
split-complementary
#687D12 #12327D #5C127D
monochromatic
#161B04 #3B480A #687D12 #95B21A #BCE029

Accessibility & contrast

On white

4.63
#687D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#687D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #687D12
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687D12#FFFFFF#000000##FFFFFF
##687D121.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#6E766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #687d12;
/* rgb */ color: rgb(104, 125, 18);
/* oklch */ color: oklch(55.4% 0.126 121.0);
Tailwind
colors: {
  custom: {
    50: '#97a25c',
    500: '#687d12',
    950: '#000000',
  },
}
SCSS
$custom: #687d12;
$custom-light: #97a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#687d12",
  "rgb": {
    "r": 104,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 71.776,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55355,
    "c": 0.12643,
    "h": 121
  },
  "luminance": 0.17654
}

Semantic roles & 50–950 ramp

primary
#687D12
secondary
#5038B3
accent
#36F15B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #687D12

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

Preview Lab → · Contrast checker → · Palette generator →

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