#686E31#686E31

#686E31 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.9% C 0.084 H 114.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#686E31
RGBrgb(104, 110, 49)
HSLhsl(66, 38%, 31%)
HSVhsv(66, 55%, 43%)
CMYKcmyk(5.5%, 0%, 55.5%, 56.9%)
CIE-LABlab(44.68, -11.86, 32.79)
CIE-LCHlch(44.68, 34.87, 109.88°)
OKLaboklab(51.9% -0.0343 0.077)
OKLCHoklch(51.9% 0.084 114)
XYZxyz(11.8394, 14.3169, 5.0449)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686E31 #37316E
analogous
#6E5531 #686E31 #496E31
triadic
#686E31 #31686E #6E3168
tetradic
#686E31 #316E55 #37316E #6E3149
square
#686E31 #316E55 #37316E #6E3149
split-complementary
#686E31 #31496E #55316E
monochromatic
#18190B #40441E #686E31 #909844 #B0B961

Accessibility & contrast

On white

5.44
#686E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#686E31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686E31
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686E31#FFFFFF#000000##FFFFFF
##686E311.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692B
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#6E6860
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #686e31;
/* rgb */ color: rgb(104, 110, 49);
/* oklch */ color: oklch(51.9% 0.084 114.0);
Tailwind
colors: {
  custom: {
    50: '#95976b',
    500: '#686e31',
    950: '#000000',
  },
}
SCSS
$custom: #686e31;
$custom-light: #95976b;
$custom-dark: #000000;
JSON
{
  "hex": "#686e31",
  "rgb": {
    "r": 104,
    "g": 110,
    "b": 49
  },
  "hsl": {
    "h": 65.902,
    "s": 38.365,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51902,
    "c": 0.08429,
    "h": 114
  },
  "luminance": 0.14317
}

Semantic roles & 50–950 ramp

primary
#686E31
secondary
#625C9F
accent
#59CE65
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D07
muted
#7E7E7A

Preview Lab

Preview with #686E31

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

Preview Lab → · Contrast checker → · Palette generator →

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