#687512#687512

#687512 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.4% C 0.117 H 117.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#687512
RGBrgb(104, 117, 18)
HSLhsl(68, 73%, 26%)
HSVhsv(68, 85%, 46%)
CMYKcmyk(11.1%, 0%, 84.6%, 54.1%)
CIE-LABlab(46.59, -17.71, 47.76)
CIE-LCHlch(46.59, 50.94, 110.35°)
OKLaboklab(53.35% -0.0538 0.1037)
OKLCHoklch(53.35% 0.117 117.4)
XYZxyz(12.1797, 15.7095, 2.9628)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687512 #1F1275
analogous
#755112 #687512 #377512
triadic
#687512 #126875 #751268
tetradic
#687512 #127551 #1F1275 #751237
square
#687512 #127551 #1F1275 #751237
split-complementary
#687512 #123775 #511275
monochromatic
#181B04 #39400A #687512 #97AA1A #C5DD24

Accessibility & contrast

On white

5.07
#687512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#687512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687512
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687512#FFFFFF#000000##FFFFFF
##6875121.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#7C6F1C
Tritanopia (blue-blind)
#6F6E63
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #687512;
/* rgb */ color: rgb(104, 117, 18);
/* oklch */ color: oklch(53.4% 0.117 117.4);
Tailwind
colors: {
  custom: {
    50: '#969c5b',
    500: '#687512',
    950: '#000000',
  },
}
SCSS
$custom: #687512;
$custom-light: #969c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#687512",
  "rgb": {
    "r": 104,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 67.879,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.53354,
    "c": 0.11682,
    "h": 117.4
  },
  "luminance": 0.15709
}

Semantic roles & 50–950 ramp

primary
#687512
secondary
#4637AC
accent
#38F050
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #687512

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

Preview Lab → · Contrast checker → · Palette generator →

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