#687318#687318

#687318 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 52.9% C 0.111 H 116.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#687318
RGBrgb(104, 115, 24)
HSLhsl(67, 65%, 27%)
HSVhsv(67, 79%, 45%)
CMYKcmyk(9.6%, 0%, 79.1%, 54.9%)
CIE-LABlab(46.00, -16.39, 45.32)
CIE-LCHlch(46.00, 48.19, 109.88°)
OKLaboklab(52.89% -0.0496 0.0996)
OKLCHoklch(52.89% 0.111 116.5)
XYZxyz(12.0048, 15.2706, 3.1791)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687318 #231873
analogous
#735118 #687318 #3A7318
triadic
#687318 #186873 #731868
tetradic
#687318 #187351 #231873 #73183A
square
#687318 #187351 #231873 #73183A
split-complementary
#687318 #183A73 #511873
monochromatic
#171905 #3A400D #687318 #96A623 #C0D431

Accessibility & contrast

On white

5.18
#687318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#687318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687318
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687318#FFFFFF#000000##FFFFFF
##6873181.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D03
Deuteranopia (green-blind)
#7A6E20
Tritanopia (blue-blind)
#6F6C62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #687318;
/* rgb */ color: rgb(104, 115, 24);
/* oklch */ color: oklch(52.9% 0.111 116.5);
Tailwind
colors: {
  custom: {
    50: '#969b5d',
    500: '#687318',
    950: '#000000',
  },
}
SCSS
$custom: #687318;
$custom-light: #969b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#687318",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 67.253,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.5289,
    "c": 0.11131,
    "h": 116.5
  },
  "luminance": 0.1527
}

Semantic roles & 50–950 ramp

primary
#687318
secondary
#4B3FA8
accent
#3FE854
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687318

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

Preview Lab → · Contrast checker → · Palette generator →

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