#687012#687012

#687012 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.1% C 0.111 H 114.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#687012
RGBrgb(104, 112, 18)
HSLhsl(65, 72%, 25%)
HSVhsv(65, 84%, 44%)
CMYKcmyk(7.1%, 0%, 83.9%, 56.1%)
CIE-LABlab(45.05, -15.03, 46.41)
CIE-LCHlch(45.05, 48.78, 107.95°)
OKLaboklab(52.11% -0.0464 0.1008)
OKLCHoklch(52.11% 0.111 114.7)
XYZxyz(11.6126, 14.5753, 2.7737)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687012 #1A1270
analogous
#704912 #687012 #397012
triadic
#687012 #126870 #701268
tetradic
#687012 #127049 #1A1270 #701239
square
#687012 #127049 #1A1270 #701239
split-complementary
#687012 #123970 #491270
monochromatic
#181A04 #373B0A #687012 #99A51A #CAD923

Accessibility & contrast

On white

5.36
#687012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#687012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687012
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687012#FFFFFF#000000##FFFFFF
##6870121.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#786B1B
Tritanopia (blue-blind)
#6F695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #687012;
/* rgb */ color: rgb(104, 112, 18);
/* oklch */ color: oklch(52.1% 0.111 114.7);
Tailwind
colors: {
  custom: {
    50: '#96985a',
    500: '#687012',
    950: '#000000',
  },
}
SCSS
$custom: #687012;
$custom-light: #96985a;
$custom-dark: #000000;
JSON
{
  "hex": "#687012",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 65.106,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.52113,
    "c": 0.11096,
    "h": 114.7
  },
  "luminance": 0.14575
}

Semantic roles & 50–950 ramp

primary
#687012
secondary
#4037A7
accent
#39EF48
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #687012

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

Preview Lab → · Contrast checker → · Palette generator →

#687012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva