#687412#687412

#687412 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.1% C 0.116 H 116.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#687412
RGBrgb(104, 116, 18)
HSLhsl(67, 73%, 26%)
HSVhsv(67, 84%, 45%)
CMYKcmyk(10.3%, 0%, 84.5%, 54.5%)
CIE-LABlab(46.28, -17.18, 47.49)
CIE-LCHlch(46.28, 50.50, 109.89°)
OKLaboklab(53.11% -0.0523 0.1031)
OKLCHoklch(53.11% 0.116 116.9)
XYZxyz(12.0638, 15.4777, 2.9241)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687412 #1E1274
analogous
#744F12 #687412 #377412
triadic
#687412 #126874 #741268
tetradic
#687412 #12744F #1E1274 #741237
square
#687412 #12744F #1E1274 #741237
split-complementary
#687412 #123774 #4F1274
monochromatic
#181A04 #393F0A #687412 #98A91A #C6DD23

Accessibility & contrast

On white

5.13
#687412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#687412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687412
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687412#FFFFFF#000000##FFFFFF
##6874121.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#7B6E1C
Tritanopia (blue-blind)
#6F6D62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #687412;
/* rgb */ color: rgb(104, 116, 18);
/* oklch */ color: oklch(53.1% 0.116 116.9);
Tailwind
colors: {
  custom: {
    50: '#969b5b',
    500: '#687412',
    950: '#000000',
  },
}
SCSS
$custom: #687412;
$custom-light: #969b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#687412",
  "rgb": {
    "r": 104,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 67.347,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.53105,
    "c": 0.11564,
    "h": 116.9
  },
  "luminance": 0.15478
}

Semantic roles & 50–950 ramp

primary
#687412
secondary
#4537AB
accent
#38F04E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #687412

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

Preview Lab → · Contrast checker → · Palette generator →

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