#686018#686018

#686018 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.3% C 0.090 H 102.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#686018
RGBrgb(104, 96, 24)
HSLhsl(54, 63%, 25%)
HSVhsv(54, 77%, 41%)
CMYKcmyk(0%, 7.7%, 76.9%, 59.2%)
CIE-LABlab(40.21, -5.77, 39.84)
CIE-LCHlch(40.21, 40.25, 98.25°)
OKLaboklab(48.26% -0.02 0.088)
OKLCHoklch(48.26% 0.09 102.8)
XYZxyz(10.0571, 11.3752, 2.5299)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686018 #182068
analogous
#683818 #686018 #486818
triadic
#686018 #186860 #601868
tetradic
#686018 #186838 #182068 #681848
square
#686018 #186838 #182068 #681848
split-complementary
#686018 #184868 #381868
monochromatic
#191706 #36320D #686018 #9A8E23 #CBBC2F

Accessibility & contrast

On white

6.41
#686018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#686018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686018
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686018#FFFFFF#000000##FFFFFF
##6860181.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0B
Deuteranopia (green-blind)
#6C601D
Tritanopia (blue-blind)
#705952
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #686018;
/* rgb */ color: rgb(104, 96, 24);
/* oklch */ color: oklch(48.3% 0.090 102.8);
Tailwind
colors: {
  custom: {
    50: '#968c5b',
    500: '#686018',
    950: '#000000',
  },
}
SCSS
$custom: #686018;
$custom-light: #968c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#686018",
  "rgb": {
    "r": 104,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 54,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48256,
    "c": 0.09027,
    "h": 102.8
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#686018
secondary
#3E479E
accent
#53E642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #686018

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

Preview Lab → · Contrast checker → · Palette generator →

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