#685B18#685B18

#685B18 is a mid, moderate yellow. Relative luminance 0.105; OKLCH L 47.1% C 0.086 H 97.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#685B18
RGBrgb(104, 91, 24)
HSLhsl(50, 63%, 25%)
HSVhsv(50, 77%, 41%)
CMYKcmyk(0%, 12.5%, 76.9%, 59.2%)
CIE-LABlab(38.71, -2.85, 38.39)
CIE-LCHlch(38.71, 38.49, 94.24°)
OKLaboklab(47.07% -0.0117 0.085)
OKLCHoklch(47.07% 0.086 97.9)
XYZxyz(9.6153, 10.4917, 2.3826)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#685B18 #182568
analogous
#683318 #685B18 #4D6818
triadic
#685B18 #18685B #5B1868
tetradic
#685B18 #186833 #182568 #68184D
square
#685B18 #186833 #182568 #68184D
split-complementary
#685B18 #184D68 #331868
monochromatic
#191606 #362F0D #685B18 #9A8723 #CBB22F

Accessibility & contrast

On white

6.78
#685B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#685B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #685B18
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##685B18#FFFFFF#000000##FFFFFF
##685B181.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590D
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#71544E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #685b18;
/* rgb */ color: rgb(104, 91, 24);
/* oklch */ color: oklch(47.1% 0.086 97.9);
Tailwind
colors: {
  custom: {
    50: '#96895a',
    500: '#685b18',
    950: '#000000',
  },
}
SCSS
$custom: #685b18;
$custom-light: #96895a;
$custom-dark: #000000;
JSON
{
  "hex": "#685b18",
  "rgb": {
    "r": 104,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 50.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4707,
    "c": 0.08576,
    "h": 97.9
  },
  "luminance": 0.10491
}

Semantic roles & 50–950 ramp

primary
#685B18
secondary
#3E4D9E
accent
#5DE642
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #685B18

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

Preview Lab → · Contrast checker → · Palette generator →

#685B18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva