#687216#687216

#687216 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 52.6% C 0.111 H 115.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#687216
RGBrgb(104, 114, 22)
HSLhsl(67, 68%, 27%)
HSVhsv(67, 81%, 45%)
CMYKcmyk(8.8%, 0%, 80.7%, 55.3%)
CIE-LABlab(45.68, -15.94, 45.71)
CIE-LCHlch(45.68, 48.41, 109.23°)
OKLaboklab(52.63% -0.0486 0.1001)
OKLCHoklch(52.63% 0.111 115.9)
XYZxyz(11.8714, 15.0358, 3.0357)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687216 #201672
analogous
#724E16 #687216 #3A7216
triadic
#687216 #166872 #721668
tetradic
#687216 #16724E #201672 #72163A
square
#687216 #16724E #201672 #72163A
split-complementary
#687216 #163A72 #4E1672
monochromatic
#171A05 #393F0C #687216 #97A520 #C4D62C

Accessibility & contrast

On white

5.24
#687216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#687216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687216
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687216#FFFFFF#000000##FFFFFF
##6872161.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#6F6B61
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #687216;
/* rgb */ color: rgb(104, 114, 22);
/* oklch */ color: oklch(52.6% 0.111 115.9);
Tailwind
colors: {
  custom: {
    50: '#969a5c',
    500: '#687216',
    950: '#000000',
  },
}
SCSS
$custom: #687216;
$custom-light: #969a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#687216",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 66.522,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.5263,
    "c": 0.11124,
    "h": 115.9
  },
  "luminance": 0.15036
}

Semantic roles & 50–950 ramp

primary
#687216
secondary
#483CA8
accent
#3DEB50
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #687216

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

Preview Lab → · Contrast checker → · Palette generator →

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