#687016#687016

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

Color values

HEX#687016
RGBrgb(104, 112, 22)
HSLhsl(65, 67%, 26%)
HSVhsv(65, 80%, 44%)
CMYKcmyk(7.1%, 0%, 80.4%, 56.1%)
CIE-LABlab(45.07, -14.86, 45.14)
CIE-LCHlch(45.07, 47.52, 108.22°)
OKLaboklab(52.14% -0.0456 0.0989)
OKLCHoklch(52.14% 0.109 114.8)
XYZxyz(11.6483, 14.5895, 2.9614)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687016 #1E1670
analogous
#704B16 #687016 #3B7016
triadic
#687016 #166870 #701668
tetradic
#687016 #16704B #1E1670 #70163B
square
#687016 #16704B #1E1670 #70163B
split-complementary
#687016 #163B70 #4B1670
monochromatic
#181A05 #393D0C #687016 #98A320 #C6D52B

Accessibility & contrast

On white

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

On black

3.92
#687016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##687016#FFFFFF#000000##FFFFFF
##6870161.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #687016;
/* rgb */ color: rgb(104, 112, 22);
/* oklch */ color: oklch(52.1% 0.109 114.8);
Tailwind
colors: {
  custom: {
    50: '#96985c',
    500: '#687016',
    950: '#000000',
  },
}
SCSS
$custom: #687016;
$custom-light: #96985c;
$custom-dark: #000000;
JSON
{
  "hex": "#687016",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 65.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.10889,
    "h": 114.8
  },
  "luminance": 0.14589
}

Semantic roles & 50–950 ramp

primary
#687016
secondary
#453CA6
accent
#3EEA4D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #687016

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

Preview Lab → · Contrast checker → · Palette generator →

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