#687518#687518

#687518 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.4% C 0.114 H 117.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#687518
RGBrgb(104, 117, 24)
HSLhsl(68, 66%, 28%)
HSVhsv(68, 79%, 46%)
CMYKcmyk(11.1%, 0%, 79.5%, 54.1%)
CIE-LABlab(46.62, -17.45, 45.89)
CIE-LCHlch(46.62, 49.10, 110.82°)
OKLaboklab(53.39% -0.0526 0.1008)
OKLCHoklch(53.39% 0.114 117.5)
XYZxyz(12.2354, 15.7317, 3.2559)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687518 #251875
analogous
#755318 #687518 #3A7518
triadic
#687518 #186875 #751868
tetradic
#687518 #187553 #251875 #75183A
square
#687518 #187553 #251875 #75183A
split-complementary
#687518 #183A75 #531875
monochromatic
#171905 #3B420E #687518 #95A822 #BED532

Accessibility & contrast

On white

5.06
#687518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#687518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687518
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687518#FFFFFF#000000##FFFFFF
##6875181.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E02
Deuteranopia (green-blind)
#7C6F21
Tritanopia (blue-blind)
#6F6E64
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #687518;
/* rgb */ color: rgb(104, 117, 24);
/* oklch */ color: oklch(53.4% 0.114 117.5);
Tailwind
colors: {
  custom: {
    50: '#969c5d',
    500: '#687518',
    950: '#000000',
  },
}
SCSS
$custom: #687518;
$custom-light: #969c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#687518",
  "rgb": {
    "r": 104,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 68.387,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.53387,
    "c": 0.11373,
    "h": 117.5
  },
  "luminance": 0.15732
}

Semantic roles & 50–950 ramp

primary
#687518
secondary
#4E3FAA
accent
#3FE957
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687518

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

Preview Lab → · Contrast checker → · Palette generator →

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