#686E22#686E22

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

Color values

HEX#686E22
RGBrgb(104, 110, 34)
HSLhsl(65, 53%, 28%)
HSVhsv(65, 69%, 43%)
CMYKcmyk(5.5%, 0%, 69.1%, 56.9%)
CIE-LABlab(44.53, -13.09, 39.90)
CIE-LCHlch(44.53, 42.00, 108.16°)
OKLaboklab(51.73% -0.0395 0.09)
OKLCHoklch(51.73% 0.098 113.7)
XYZxyz(11.5739, 14.2106, 3.6463)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686E22 #28226E
analogous
#6E4E22 #686E22 #426E22
triadic
#686E22 #22686E #6E2268
tetradic
#686E22 #226E4E #28226E #6E2242
square
#686E22 #226E4E #28226E #6E2242
split-complementary
#686E22 #22426E #4E226E
monochromatic
#161707 #3C3F14 #686E22 #949D30 #BBC545

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##686E22#FFFFFF#000000##FFFFFF
##686E221.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)
#766917
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#6F675F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #686e22;
/* rgb */ color: rgb(104, 110, 34);
/* oklch */ color: oklch(51.7% 0.098 113.7);
Tailwind
colors: {
  custom: {
    50: '#959762',
    500: '#686e22',
    950: '#000000',
  },
}
SCSS
$custom: #686e22;
$custom-light: #959762;
$custom-dark: #000000;
JSON
{
  "hex": "#686e22",
  "rgb": {
    "r": 104,
    "g": 110,
    "b": 34
  },
  "hsl": {
    "h": 64.737,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51733,
    "c": 0.09831,
    "h": 113.7
  },
  "luminance": 0.1421
}

Semantic roles & 50–950 ramp

primary
#686E22
secondary
#514AA1
accent
#4CDC57
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #686E22

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

Preview Lab → · Contrast checker → · Palette generator →

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