#687815#687815

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

Color values

HEX#687815
RGBrgb(104, 120, 21)
HSLhsl(70, 70%, 28%)
HSVhsv(70, 83%, 47%)
CMYKcmyk(13.3%, 0%, 82.5%, 52.9%)
CIE-LABlab(47.53, -19.17, 47.70)
CIE-LCHlch(47.53, 51.41, 111.90°)
OKLaboklab(54.12% -0.0576 0.1041)
OKLCHoklch(54.12% 0.119 118.9)
XYZxyz(12.5610, 16.4302, 3.2190)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687815 #251578
analogous
#785615 #687815 #367815
triadic
#687815 #156878 #781568
tetradic
#687815 #157856 #251578 #781536
square
#687815 #157856 #251578 #781536
split-complementary
#687815 #153678 #561578
monochromatic
#171A05 #3B440C #687815 #95AC1E #BEDA2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##687815#FFFFFF#000000##FFFFFF
##6878151.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)
#7F711F
Tritanopia (blue-blind)
#6F7166
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #687815;
/* rgb */ color: rgb(104, 120, 21);
/* oklch */ color: oklch(54.1% 0.119 118.9);
Tailwind
colors: {
  custom: {
    50: '#969e5d',
    500: '#687815',
    950: '#000000',
  },
}
SCSS
$custom: #687815;
$custom-light: #969e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#687815",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 69.697,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54117,
    "c": 0.11898,
    "h": 118.9
  },
  "luminance": 0.1643
}

Semantic roles & 50–950 ramp

primary
#687815
secondary
#4E3BAE
accent
#3BED58
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687815

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

Preview Lab → · Contrast checker → · Palette generator →

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