#686918#686918

#686918 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.4% C 0.100 H 110.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#686918
RGBrgb(104, 105, 24)
HSLhsl(61, 63%, 25%)
HSVhsv(61, 77%, 41%)
CMYKcmyk(1%, 0%, 77.1%, 58.8%)
CIE-LABlab(42.93, -10.91, 42.44)
CIE-LCHlch(42.93, 43.82, 104.41°)
OKLaboklab(50.43% -0.0344 0.0935)
OKLCHoklch(50.43% 0.1 110.2)
XYZxyz(10.9258, 13.1125, 2.8194)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686918 #191869
analogous
#694218 #686918 #3F6918
triadic
#686918 #186869 #691868
tetradic
#686918 #186942 #191869 #69183F
square
#686918 #186942 #191869 #69183F
split-complementary
#686918 #183F69 #421869
monochromatic
#191906 #37370D #686918 #999B23 #CBCD2F

Accessibility & contrast

On white

5.80
#686918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#686918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686918
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686918#FFFFFF#000000##FFFFFF
##6869181.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726407
Deuteranopia (green-blind)
#73661E
Tritanopia (blue-blind)
#70625A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #686918;
/* rgb */ color: rgb(104, 105, 24);
/* oklch */ color: oklch(50.4% 0.100 110.2);
Tailwind
colors: {
  custom: {
    50: '#96935c',
    500: '#686918',
    950: '#000000',
  },
}
SCSS
$custom: #686918;
$custom-light: #96935c;
$custom-dark: #000000;
JSON
{
  "hex": "#686918",
  "rgb": {
    "r": 104,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 60.741,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50429,
    "c": 0.09967,
    "h": 110.2
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#686918
secondary
#3F3E9F
accent
#42E644
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686918

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

Preview Lab → · Contrast checker → · Palette generator →

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