#686A23#686A23

#686A23 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.8% C 0.093 H 110.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#686A23
RGBrgb(104, 106, 35)
HSLhsl(62, 50%, 28%)
HSVhsv(62, 67%, 42%)
CMYKcmyk(1.9%, 0%, 67%, 58.4%)
CIE-LABlab(43.32, -10.80, 38.19)
CIE-LCHlch(43.32, 39.68, 105.79°)
OKLaboklab(50.77% -0.0329 0.0866)
OKLCHoklch(50.77% 0.093 110.8)
XYZxyz(11.1667, 13.3728, 3.5828)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686A23 #25236A
analogous
#6A4823 #686A23 #456A23
triadic
#686A23 #23686A #6A2368
tetradic
#686A23 #236A48 #25236A #6A2345
square
#686A23 #236A48 #25236A #6A2345
split-complementary
#686A23 #23456A #48236A
monochromatic
#171708 #3B3C14 #686A23 #959832 #BEC246

Accessibility & contrast

On white

5.72
#686A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#686A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686A23
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686A23#FFFFFF#000000##FFFFFF
##686A231.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72651A
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#6F635B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #686a23;
/* rgb */ color: rgb(104, 106, 35);
/* oklch */ color: oklch(50.8% 0.093 110.8);
Tailwind
colors: {
  custom: {
    50: '#959462',
    500: '#686a23',
    950: '#000000',
  },
}
SCSS
$custom: #686a23;
$custom-light: #959462;
$custom-dark: #000000;
JSON
{
  "hex": "#686a23",
  "rgb": {
    "r": 104,
    "g": 106,
    "b": 35
  },
  "hsl": {
    "h": 61.69,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50765,
    "c": 0.09263,
    "h": 110.8
  },
  "luminance": 0.13372
}

Semantic roles & 50–950 ramp

primary
#686A23
secondary
#4E4B9D
accent
#4EDA52
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #686A23

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

Preview Lab → · Contrast checker → · Palette generator →

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