#686212#686212

#686212 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.7% C 0.096 H 104.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#686212
RGBrgb(104, 98, 18)
HSLhsl(56, 70%, 24%)
HSVhsv(56, 83%, 41%)
CMYKcmyk(0%, 5.8%, 82.7%, 59.2%)
CIE-LABlab(40.77, -7.21, 42.61)
CIE-LCHlch(40.77, 43.21, 99.60°)
OKLaboklab(48.7% -0.0247 0.0927)
OKLCHoklch(48.7% 0.096 104.9)
XYZxyz(10.1862, 11.7225, 2.2983)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686212 #121868
analogous
#683712 #686212 #436812
triadic
#686212 #126862 #621268
tetradic
#686212 #126837 #121868 #681243
square
#686212 #126837 #121868 #681243
split-complementary
#686212 #124368 #371268
monochromatic
#1A1905 #343109 #686212 #9C931B #D0C424

Accessibility & contrast

On white

6.28
#686212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#686212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686212
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686212#FFFFFF#000000##FFFFFF
##6862121.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#6E6219
Tritanopia (blue-blind)
#705B53
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #686212;
/* rgb */ color: rgb(104, 98, 18);
/* oklch */ color: oklch(48.7% 0.096 104.9);
Tailwind
colors: {
  custom: {
    50: '#968e58',
    500: '#686212',
    950: '#000000',
  },
}
SCSS
$custom: #686212;
$custom-light: #968e58;
$custom-dark: #000000;
JSON
{
  "hex": "#686212",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 55.814,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48695,
    "c": 0.09589,
    "h": 104.9
  },
  "luminance": 0.11722
}

Semantic roles & 50–950 ramp

primary
#686212
secondary
#363EA0
accent
#47ED3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686212

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

Preview Lab → · Contrast checker → · Palette generator →

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