#686E20#686E20

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

Color values

HEX#686E20
RGBrgb(104, 110, 32)
HSLhsl(65, 55%, 28%)
HSVhsv(65, 71%, 43%)
CMYKcmyk(5.5%, 0%, 70.9%, 56.9%)
CIE-LABlab(44.52, -13.22, 40.76)
CIE-LCHlch(44.52, 42.85, 107.98°)
OKLaboklab(51.72% -0.0401 0.0915)
OKLCHoklch(51.72% 0.1 113.7)
XYZxyz(11.5459, 14.1994, 3.4988)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686E20 #26206E
analogous
#6E4D20 #686E20 #416E20
triadic
#686E20 #20686E #6E2068
tetradic
#686E20 #206E4D #26206E #6E2041
square
#686E20 #206E4D #26206E #6E2041
split-complementary
#686E20 #20416E #4D206E
monochromatic
#161807 #3B3F12 #686E20 #959D2E #BDC841

Accessibility & contrast

On white

5.47
#686E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#686E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686E20
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686E20#FFFFFF#000000##FFFFFF
##686E201.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766914
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#6F675E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #686e20;
/* rgb */ color: rgb(104, 110, 32);
/* oklch */ color: oklch(51.7% 0.100 113.7);
Tailwind
colors: {
  custom: {
    50: '#969761',
    500: '#686e20',
    950: '#000000',
  },
}
SCSS
$custom: #686e20;
$custom-light: #969761;
$custom-dark: #000000;
JSON
{
  "hex": "#686e20",
  "rgb": {
    "r": 104,
    "g": 110,
    "b": 32
  },
  "hsl": {
    "h": 64.615,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51716,
    "c": 0.09988,
    "h": 113.7
  },
  "luminance": 0.14199
}

Semantic roles & 50–950 ramp

primary
#686E20
secondary
#4F48A2
accent
#4ADE55
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #686E20

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

Preview Lab → · Contrast checker → · Palette generator →

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