#686E1F#686E1F

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

Color values

HEX#686E1F
RGBrgb(104, 110, 31)
HSLhsl(65, 56%, 28%)
HSVhsv(65, 72%, 43%)
CMYKcmyk(5.5%, 0%, 71.8%, 56.9%)
CIE-LABlab(44.51, -13.29, 41.17)
CIE-LCHlch(44.51, 43.26, 107.89°)
OKLaboklab(51.71% -0.0403 0.0922)
OKLCHoklch(51.71% 0.101 113.6)
XYZxyz(11.5325, 14.1941, 3.4283)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686E1F #251F6E
analogous
#6E4C1F #686E1F #406E1F
triadic
#686E1F #1F686E #6E1F68
tetradic
#686E1F #1F6E4C #251F6E #6E1F40
square
#686E1F #1F6E4C #251F6E #6E1F40
split-complementary
#686E1F #1F406E #4C1F6E
monochromatic
#171807 #3B3E12 #686E1F #959E2C #BEC93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##686E1F#FFFFFF#000000##FFFFFF
##686E1F1.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)
#766813
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#6F675E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #686e1f;
/* rgb */ color: rgb(104, 110, 31);
/* oklch */ color: oklch(51.7% 0.101 113.6);
Tailwind
colors: {
  custom: {
    50: '#969760',
    500: '#686e1f',
    950: '#000000',
  },
}
SCSS
$custom: #686e1f;
$custom-light: #969760;
$custom-dark: #000000;
JSON
{
  "hex": "#686e1f",
  "rgb": {
    "r": 104,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 64.557,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51707,
    "c": 0.10063,
    "h": 113.6
  },
  "luminance": 0.14194
}

Semantic roles & 50–950 ramp

primary
#686E1F
secondary
#4E47A2
accent
#48DF54
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #686E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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