#686E18#686E18

#686E18 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.7% C 0.105 H 113.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#686E18
RGBrgb(104, 110, 24)
HSLhsl(64, 64%, 26%)
HSVhsv(64, 78%, 43%)
CMYKcmyk(5.5%, 0%, 78.2%, 56.9%)
CIE-LABlab(44.46, -13.68, 43.88)
CIE-LCHlch(44.46, 45.96, 107.31°)
OKLaboklab(51.65% -0.0421 0.0966)
OKLCHoklch(51.65% 0.105 113.6)
XYZxyz(11.4501, 14.1611, 2.9942)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686E18 #1E186E
analogous
#6E4918 #686E18 #3D6E18
triadic
#686E18 #18686E #6E1868
tetradic
#686E18 #186E49 #1E186E #6E183D
square
#686E18 #186E49 #1E186E #6E183D
split-complementary
#686E18 #183D6E #49186E
monochromatic
#181905 #393C0D #686E18 #98A023 #C6D22F

Accessibility & contrast

On white

5.48
#686E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#686E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686E18
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686E18#FFFFFF#000000##FFFFFF
##686E181.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776805
Deuteranopia (green-blind)
#776A1F
Tritanopia (blue-blind)
#6F675E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #686e18;
/* rgb */ color: rgb(104, 110, 24);
/* oklch */ color: oklch(51.7% 0.105 113.6);
Tailwind
colors: {
  custom: {
    50: '#96975c',
    500: '#686e18',
    950: '#000000',
  },
}
SCSS
$custom: #686e18;
$custom-light: #96975c;
$custom-dark: #000000;
JSON
{
  "hex": "#686e18",
  "rgb": {
    "r": 104,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 64.186,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51655,
    "c": 0.10538,
    "h": 113.6
  },
  "luminance": 0.14161
}

Semantic roles & 50–950 ramp

primary
#686E18
secondary
#453EA4
accent
#41E74C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686E18

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

Preview Lab → · Contrast checker → · Palette generator →

#686E18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva