#686E12#686E12

#686E12 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.6% C 0.109 H 113.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#686E12
RGBrgb(104, 110, 18)
HSLhsl(64, 72%, 25%)
HSVhsv(64, 84%, 43%)
CMYKcmyk(5.5%, 0%, 83.6%, 56.9%)
CIE-LABlab(44.43, -13.94, 45.86)
CIE-LCHlch(44.43, 47.93, 106.91°)
OKLaboklab(51.62% -0.0434 0.0996)
OKLCHoklch(51.62% 0.109 113.5)
XYZxyz(11.3944, 14.1388, 2.7010)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686E12 #18126E
analogous
#6E4612 #686E12 #3A6E12
triadic
#686E12 #12686E #6E1268
tetradic
#686E12 #126E46 #18126E #6E123A
square
#686E12 #126E46 #18126E #6E123A
split-complementary
#686E12 #123A6E #46126E
monochromatic
#191A04 #363909 #686E12 #9AA31B #CBD723

Accessibility & contrast

On white

5.49
#686E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#686E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686E12
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686E12#FFFFFF#000000##FFFFFF
##686E121.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#776A1B
Tritanopia (blue-blind)
#70675D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #686e12;
/* rgb */ color: rgb(104, 110, 18);
/* oklch */ color: oklch(51.6% 0.109 113.5);
Tailwind
colors: {
  custom: {
    50: '#96975a',
    500: '#686e12',
    950: '#000000',
  },
}
SCSS
$custom: #686e12;
$custom-light: #96975a;
$custom-dark: #000000;
JSON
{
  "hex": "#686e12",
  "rgb": {
    "r": 104,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 63.913,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.51619,
    "c": 0.10868,
    "h": 113.5
  },
  "luminance": 0.14139
}

Semantic roles & 50–950 ramp

primary
#686E12
secondary
#3E37A5
accent
#39EF45
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686E12

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

Preview Lab → · Contrast checker → · Palette generator →

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