#686012#686012

#686012 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.2% C 0.094 H 103.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#686012
RGBrgb(104, 96, 18)
HSLhsl(54, 70%, 24%)
HSVhsv(54, 83%, 41%)
CMYKcmyk(0%, 7.7%, 82.7%, 59.2%)
CIE-LABlab(40.17, -6.05, 42.07)
CIE-LCHlch(40.17, 42.50, 98.19°)
OKLaboklab(48.22% -0.0214 0.0915)
OKLCHoklch(48.22% 0.094 103.2)
XYZxyz(10.0014, 11.3529, 2.2367)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686012 #121A68
analogous
#683512 #686012 #456812
triadic
#686012 #126860 #601268
tetradic
#686012 #126835 #121A68 #681245
square
#686012 #126835 #121A68 #681245
split-complementary
#686012 #124568 #351268
monochromatic
#1A1805 #343009 #686012 #9C901B #D0C024

Accessibility & contrast

On white

6.42
#686012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#686012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686012
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686012#FFFFFF#000000##FFFFFF
##6860121.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D01
Deuteranopia (green-blind)
#6C6018
Tritanopia (blue-blind)
#715952
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #686012;
/* rgb */ color: rgb(104, 96, 18);
/* oklch */ color: oklch(48.2% 0.094 103.2);
Tailwind
colors: {
  custom: {
    50: '#968c58',
    500: '#686012',
    950: '#000000',
  },
}
SCSS
$custom: #686012;
$custom-light: #968c58;
$custom-dark: #000000;
JSON
{
  "hex": "#686012",
  "rgb": {
    "r": 104,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 54.419,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48215,
    "c": 0.09398,
    "h": 103.2
  },
  "luminance": 0.11352
}

Semantic roles & 50–950 ramp

primary
#686012
secondary
#3640A0
accent
#4BED3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686012

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

Preview Lab → · Contrast checker → · Palette generator →

#686012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva