#686E21#686E21

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

Color values

HEX#686E21
RGBrgb(104, 110, 33)
HSLhsl(65, 54%, 28%)
HSVhsv(65, 70%, 43%)
CMYKcmyk(5.5%, 0%, 70%, 56.9%)
CIE-LABlab(44.53, -13.16, 40.33)
CIE-LCHlch(44.53, 42.43, 108.07°)
OKLaboklab(51.72% -0.0398 0.0908)
OKLCHoklch(51.72% 0.099 113.7)
XYZxyz(11.5597, 14.2049, 3.5714)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686E21 #27216E
analogous
#6E4D21 #686E21 #416E21
triadic
#686E21 #21686E #6E2168
tetradic
#686E21 #216E4D #27216E #6E2141
square
#686E21 #216E4D #27216E #6E2141
split-complementary
#686E21 #21416E #4D216E
monochromatic
#161807 #3B3F13 #686E21 #959D2F #BCC743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##686E21#FFFFFF#000000##FFFFFF
##686E211.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)
#766916
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#6F675E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #686e21;
/* rgb */ color: rgb(104, 110, 33);
/* oklch */ color: oklch(51.7% 0.099 113.7);
Tailwind
colors: {
  custom: {
    50: '#969761',
    500: '#686e21',
    950: '#000000',
  },
}
SCSS
$custom: #686e21;
$custom-light: #969761;
$custom-dark: #000000;
JSON
{
  "hex": "#686e21",
  "rgb": {
    "r": 104,
    "g": 110,
    "b": 33
  },
  "hsl": {
    "h": 64.675,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51724,
    "c": 0.0991,
    "h": 113.7
  },
  "luminance": 0.14205
}

Semantic roles & 50–950 ramp

primary
#686E21
secondary
#5049A2
accent
#4BDD56
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #686E21

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

Preview Lab → · Contrast checker → · Palette generator →

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