#687816#687816

#687816 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.1% C 0.118 H 119.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#687816
RGBrgb(104, 120, 22)
HSLhsl(70, 69%, 28%)
HSVhsv(70, 82%, 47%)
CMYKcmyk(13.3%, 0%, 81.7%, 52.9%)
CIE-LABlab(47.54, -19.13, 47.39)
CIE-LCHlch(47.54, 51.10, 111.98°)
OKLaboklab(54.12% -0.0574 0.1037)
OKLCHoklch(54.12% 0.118 119)
XYZxyz(12.5705, 16.4340, 3.2688)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687816 #261678
analogous
#785716 #687816 #377816
triadic
#687816 #166878 #781668
tetradic
#687816 #167857 #261678 #781637
square
#687816 #167857 #261678 #781637
split-complementary
#687816 #163778 #571678
monochromatic
#161A05 #3B440D #687816 #95AC1F #BDD92F

Accessibility & contrast

On white

4.90
#687816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#687816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687816
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687816#FFFFFF#000000##FFFFFF
##6878161.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#7F7120
Tritanopia (blue-blind)
#6F7166
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #687816;
/* rgb */ color: rgb(104, 120, 22);
/* oklch */ color: oklch(54.1% 0.118 119.0);
Tailwind
colors: {
  custom: {
    50: '#969e5d',
    500: '#687816',
    950: '#000000',
  },
}
SCSS
$custom: #687816;
$custom-light: #969e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#687816",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 69.796,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54123,
    "c": 0.11847,
    "h": 119
  },
  "luminance": 0.16434
}

Semantic roles & 50–950 ramp

primary
#687816
secondary
#4F3CAD
accent
#3CEC59
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687816

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

Preview Lab → · Contrast checker → · Palette generator →

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