#685A17#685A17

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

Color values

HEX#685A17
RGBrgb(104, 90, 23)
HSLhsl(50, 64%, 25%)
HSVhsv(50, 78%, 41%)
CMYKcmyk(0%, 13.5%, 77.9%, 59.2%)
CIE-LABlab(38.41, -2.31, 38.51)
CIE-LCHlch(38.41, 38.58, 93.43°)
OKLaboklab(46.83% -0.0103 0.085)
OKLCHoklch(46.83% 0.086 96.9)
XYZxyz(9.5202, 10.3177, 2.3005)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#685A17 #172568
analogous
#683217 #685A17 #4D6817
triadic
#685A17 #17685A #5A1768
tetradic
#685A17 #176832 #172568 #68174D
square
#685A17 #176832 #172568 #68174D
split-complementary
#685A17 #174D68 #321768
monochromatic
#191606 #362F0C #685A17 #9A8522 #CCB12D

Accessibility & contrast

On white

6.86
#685A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #685A17
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##685A17#FFFFFF#000000##FFFFFF
##685A171.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #685a17;
/* rgb */ color: rgb(104, 90, 23);
/* oklch */ color: oklch(46.8% 0.086 96.9);
Tailwind
colors: {
  custom: {
    50: '#968859',
    500: '#685a17',
    950: '#000000',
  },
}
SCSS
$custom: #685a17;
$custom-light: #968859;
$custom-dark: #000000;
JSON
{
  "hex": "#685a17",
  "rgb": {
    "r": 104,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 49.63,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46826,
    "c": 0.08564,
    "h": 96.9
  },
  "luminance": 0.10317
}

Semantic roles & 50–950 ramp

primary
#685A17
secondary
#3D4D9E
accent
#5EE741
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #685A17

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

Preview Lab → · Contrast checker → · Palette generator →

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