#687316#687316

#687316 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 52.9% C 0.112 H 116.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#687316
RGBrgb(104, 115, 22)
HSLhsl(67, 68%, 27%)
HSVhsv(67, 81%, 45%)
CMYKcmyk(9.6%, 0%, 80.9%, 54.9%)
CIE-LABlab(45.99, -16.48, 45.99)
CIE-LCHlch(45.99, 48.85, 109.72°)
OKLaboklab(52.88% -0.0501 0.1007)
OKLCHoklch(52.88% 0.112 116.5)
XYZxyz(11.9848, 15.2626, 3.0735)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687316 #211673
analogous
#735016 #687316 #3A7316
triadic
#687316 #166873 #731668
tetradic
#687316 #167350 #211673 #73163A
square
#687316 #167350 #211673 #73163A
split-complementary
#687316 #163A73 #501673
monochromatic
#171A05 #3A400C #687316 #96A620 #C3D72D

Accessibility & contrast

On white

5.18
#687316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#687316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687316
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687316#FFFFFF#000000##FFFFFF
##6873161.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#6F6C62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #687316;
/* rgb */ color: rgb(104, 115, 22);
/* oklch */ color: oklch(52.9% 0.112 116.5);
Tailwind
colors: {
  custom: {
    50: '#969b5c',
    500: '#687316',
    950: '#000000',
  },
}
SCSS
$custom: #687316;
$custom-light: #969b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#687316",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 67.097,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52878,
    "c": 0.11243,
    "h": 116.5
  },
  "luminance": 0.15262
}

Semantic roles & 50–950 ramp

primary
#687316
secondary
#493CA9
accent
#3DEB52
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #687316

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

Preview Lab → · Contrast checker → · Palette generator →

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