#686B20#686B20

#686B20 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.0% C 0.096 H 111.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#686B20
RGBrgb(104, 107, 32)
HSLhsl(62, 54%, 27%)
HSVhsv(62, 70%, 42%)
CMYKcmyk(2.8%, 0%, 70.1%, 58%)
CIE-LABlab(43.60, -11.56, 39.82)
CIE-LCHlch(43.60, 41.47, 106.19°)
OKLaboklab(50.98% -0.0354 0.0895)
OKLCHoklch(50.98% 0.096 111.6)
XYZxyz(11.2277, 13.5630, 3.3927)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686B20 #23206B
analogous
#6B4920 #686B20 #436B20
triadic
#686B20 #20686B #6B2068
tetradic
#686B20 #206B49 #23206B #6B2043
square
#686B20 #206B49 #23206B #6B2043
split-complementary
#686B20 #20436B #49206B
monochromatic
#171807 #3A3C12 #686B20 #969A2E #C0C640

Accessibility & contrast

On white

5.66
#686B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#686B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686B20
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686B20#FFFFFF#000000##FFFFFF
##686B201.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736615
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#6F645C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #686b20;
/* rgb */ color: rgb(104, 107, 32);
/* oklch */ color: oklch(51.0% 0.096 111.6);
Tailwind
colors: {
  custom: {
    50: '#969560',
    500: '#686b20',
    950: '#000000',
  },
}
SCSS
$custom: #686b20;
$custom-light: #969560;
$custom-dark: #000000;
JSON
{
  "hex": "#686b20",
  "rgb": {
    "r": 104,
    "g": 107,
    "b": 32
  },
  "hsl": {
    "h": 62.4,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50981,
    "c": 0.09627,
    "h": 111.6
  },
  "luminance": 0.13563
}

Semantic roles & 50–950 ramp

primary
#686B20
secondary
#4B489F
accent
#4ADD50
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #686B20

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

Preview Lab → · Contrast checker → · Palette generator →

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