#686912#686912

#686912 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.4% C 0.103 H 110.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#686912
RGBrgb(104, 105, 18)
HSLhsl(61, 71%, 24%)
HSVhsv(61, 83%, 41%)
CMYKcmyk(1%, 0%, 82.9%, 58.8%)
CIE-LABlab(42.90, -11.18, 44.51)
CIE-LCHlch(42.90, 45.89, 104.09°)
OKLaboklab(50.39% -0.0357 0.0967)
OKLCHoklch(50.39% 0.103 110.3)
XYZxyz(10.8701, 13.0902, 2.5262)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686912 #131269
analogous
#693F12 #686912 #3D6912
triadic
#686912 #126869 #691268
tetradic
#686912 #12693F #131269 #69123D
square
#686912 #12693F #131269 #69123D
split-complementary
#686912 #123D69 #3F1269
monochromatic
#1A1A04 #343509 #686912 #9C9D1B #CFD124

Accessibility & contrast

On white

5.80
#686912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#686912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686912
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686912#FFFFFF#000000##FFFFFF
##6869121.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#73661A
Tritanopia (blue-blind)
#706259
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #686912;
/* rgb */ color: rgb(104, 105, 18);
/* oklch */ color: oklch(50.4% 0.103 110.3);
Tailwind
colors: {
  custom: {
    50: '#969359',
    500: '#686912',
    950: '#000000',
  },
}
SCSS
$custom: #686912;
$custom-light: #969359;
$custom-dark: #000000;
JSON
{
  "hex": "#686912",
  "rgb": {
    "r": 104,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 60.69,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.50392,
    "c": 0.10312,
    "h": 110.3
  },
  "luminance": 0.1309
}

Semantic roles & 50–950 ramp

primary
#686912
secondary
#3736A1
accent
#3AED3C
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #686912

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

Preview Lab → · Contrast checker → · Palette generator →

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