#685A18#685A18

#685A18 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.8% C 0.085 H 96.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#685A18
RGBrgb(104, 90, 24)
HSLhsl(50, 63%, 25%)
HSVhsv(50, 77%, 41%)
CMYKcmyk(0%, 13.5%, 76.9%, 59.2%)
CIE-LABlab(38.41, -2.25, 38.10)
CIE-LCHlch(38.41, 38.17, 93.39°)
OKLaboklab(46.83% -0.0101 0.0843)
OKLCHoklch(46.83% 0.085 96.8)
XYZxyz(9.5304, 10.3218, 2.3543)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#685A18 #182668
analogous
#683218 #685A18 #4E6818
triadic
#685A18 #18685A #5A1868
tetradic
#685A18 #186832 #182668 #68184E
square
#685A18 #186832 #182668 #68184E
split-complementary
#685A18 #184E68 #321868
monochromatic
#191606 #362F0D #685A18 #9A8523 #CBB02F

Accessibility & contrast

On white

6.85
#685A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#685A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #685A18
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##685A18#FFFFFF#000000##FFFFFF
##685A181.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580D
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#71534D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #685a18;
/* rgb */ color: rgb(104, 90, 24);
/* oklch */ color: oklch(46.8% 0.085 96.8);
Tailwind
colors: {
  custom: {
    50: '#96885a',
    500: '#685a18',
    950: '#000000',
  },
}
SCSS
$custom: #685a18;
$custom-light: #96885a;
$custom-dark: #000000;
JSON
{
  "hex": "#685a18",
  "rgb": {
    "r": 104,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 49.5,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46834,
    "c": 0.08494,
    "h": 96.8
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#685A18
secondary
#3E4F9E
accent
#5FE642
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #685A18

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

Preview Lab → · Contrast checker → · Palette generator →

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