#686C1B#686C1B

#686C1B is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.2% C 0.101 H 112.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#686C1B
RGBrgb(104, 108, 27)
HSLhsl(63, 60%, 26%)
HSVhsv(63, 75%, 42%)
CMYKcmyk(3.7%, 0%, 75%, 57.6%)
CIE-LABlab(43.87, -12.42, 42.17)
CIE-LCHlch(43.87, 43.96, 106.41°)
OKLaboklab(51.19% -0.0383 0.0935)
OKLCHoklch(51.19% 0.101 112.3)
XYZxyz(11.2697, 13.7476, 3.0966)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686C1B #1F1B6C
analogous
#6C481B #686C1B #406C1B
triadic
#686C1B #1B686C #6C1B68
tetradic
#686C1B #1B6C48 #1F1B6C #6C1B40
square
#686C1B #1B6C48 #1F1B6C #6C1B40
split-complementary
#686C1B #1B406C #481B6C
monochromatic
#181806 #393B0F #686C1B #979D27 #C5CC35

Accessibility & contrast

On white

5.60
#686C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#686C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686C1B
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686C1B#FFFFFF#000000##FFFFFF
##686C1B1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670C
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#6F655C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #686c1b;
/* rgb */ color: rgb(104, 108, 27);
/* oklch */ color: oklch(51.2% 0.101 112.3);
Tailwind
colors: {
  custom: {
    50: '#96955e',
    500: '#686c1b',
    950: '#000000',
  },
}
SCSS
$custom: #686c1b;
$custom-light: #96955e;
$custom-dark: #000000;
JSON
{
  "hex": "#686c1b",
  "rgb": {
    "r": 104,
    "g": 108,
    "b": 27
  },
  "hsl": {
    "h": 62.963,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51185,
    "c": 0.10111,
    "h": 112.3
  },
  "luminance": 0.13747
}

Semantic roles & 50–950 ramp

primary
#686C1B
secondary
#4642A1
accent
#45E34C
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #686C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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