#686A0F#686A0F

#686A0F is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.6% C 0.106 H 111.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#686A0F
RGBrgb(104, 106, 15)
HSLhsl(61, 75%, 24%)
HSVhsv(61, 86%, 42%)
CMYKcmyk(1.9%, 0%, 85.8%, 58.4%)
CIE-LABlab(43.19, -11.84, 45.67)
CIE-LCHlch(43.19, 47.18, 104.54°)
OKLaboklab(50.62% -0.0378 0.0986)
OKLCHoklch(50.62% 0.106 111)
XYZxyz(10.9496, 13.2859, 2.4395)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686A0F #110F6A
analogous
#6A3E0F #686A0F #3A6A0F
triadic
#686A0F #0F686A #6A0F68
tetradic
#686A0F #0F6A3E #110F6A #6A0F3A
square
#686A0F #0F6A3E #110F6A #6A0F3A
split-complementary
#686A0F #0F3A6A #3E0F6A
monochromatic
#1A1B04 #333407 #686A0F #9DA017 #D1D51E

Accessibility & contrast

On white

5.74
#686A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#686A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686A0F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686A0F#FFFFFF#000000##FFFFFF
##686A0F1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#746718
Tritanopia (blue-blind)
#70635A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #686a0f;
/* rgb */ color: rgb(104, 106, 15);
/* oklch */ color: oklch(50.6% 0.106 111.0);
Tailwind
colors: {
  custom: {
    50: '#969458',
    500: '#686a0f',
    950: '#000000',
  },
}
SCSS
$custom: #686a0f;
$custom-light: #969458;
$custom-dark: #000000;
JSON
{
  "hex": "#686a0f",
  "rgb": {
    "r": 104,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 61.319,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.50621,
    "c": 0.10564,
    "h": 111
  },
  "luminance": 0.13286
}

Semantic roles & 50–950 ramp

primary
#686A0F
secondary
#3532A2
accent
#36F23A
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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