#687817#687817

#687817 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#687817
RGBrgb(104, 120, 23)
HSLhsl(70, 68%, 28%)
HSVhsv(70, 81%, 47%)
CMYKcmyk(13.3%, 0%, 80.8%, 52.9%)
CIE-LABlab(47.54, -19.08, 47.07)
CIE-LCHlch(47.54, 50.79, 112.07°)
OKLaboklab(54.13% -0.0572 0.1032)
OKLCHoklch(54.13% 0.118 119)
XYZxyz(12.5803, 16.4379, 3.3205)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687817 #271778
analogous
#785717 #687817 #377817
triadic
#687817 #176878 #781768
tetradic
#687817 #177857 #271778 #781737
square
#687817 #177857 #271778 #781737
split-complementary
#687817 #173778 #571778
monochromatic
#161A05 #3B450D #687817 #95AB21 #BCD832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##687817#FFFFFF#000000##FFFFFF
##6878171.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: #687817;
/* rgb */ color: rgb(104, 120, 23);
/* oklch */ color: oklch(54.1% 0.118 119.0);
Tailwind
colors: {
  custom: {
    50: '#969e5d',
    500: '#687817',
    950: '#000000',
  },
}
SCSS
$custom: #687817;
$custom-light: #969e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#687817",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 69.897,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54128,
    "c": 0.11794,
    "h": 119
  },
  "luminance": 0.16438
}

Semantic roles & 50–950 ramp

primary
#687817
secondary
#503EAD
accent
#3DEB5A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687817

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

Preview Lab → · Contrast checker → · Palette generator →

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