#687217#687217

#687217 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#687217
RGBrgb(104, 114, 23)
HSLhsl(67, 66%, 27%)
HSVhsv(67, 80%, 45%)
CMYKcmyk(8.8%, 0%, 79.8%, 55.3%)
CIE-LABlab(45.69, -15.90, 45.37)
CIE-LCHlch(45.69, 48.08, 109.31°)
OKLaboklab(52.64% -0.0484 0.0996)
OKLCHoklch(52.64% 0.111 115.9)
XYZxyz(11.8812, 15.0397, 3.0875)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687217 #211772
analogous
#724F17 #687217 #3B7217
triadic
#687217 #176872 #721768
tetradic
#687217 #17724F #211772 #72173B
square
#687217 #17724F #211772 #72173B
split-complementary
#687217 #173B72 #4F1772
monochromatic
#171905 #3A3F0D #687217 #96A521 #C3D52E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##687217#FFFFFF#000000##FFFFFF
##6872171.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)
#7B6C01
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#6F6B61
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #687217;
/* rgb */ color: rgb(104, 114, 23);
/* oklch */ color: oklch(52.6% 0.111 115.9);
Tailwind
colors: {
  custom: {
    50: '#969a5d',
    500: '#687217',
    950: '#000000',
  },
}
SCSS
$custom: #687217;
$custom-light: #969a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#687217",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 66.593,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52636,
    "c": 0.11069,
    "h": 115.9
  },
  "luminance": 0.1504
}

Semantic roles & 50–950 ramp

primary
#687217
secondary
#493DA8
accent
#3EE951
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #687217

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

Preview Lab → · Contrast checker → · Palette generator →

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