#685D17#685D17

#685D17 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.5% C 0.088 H 100.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#685D17
RGBrgb(104, 93, 23)
HSLhsl(52, 64%, 25%)
HSVhsv(52, 78%, 41%)
CMYKcmyk(0%, 10.6%, 77.9%, 59.2%)
CIE-LABlab(39.30, -4.07, 39.37)
CIE-LCHlch(39.30, 39.58, 95.91°)
OKLaboklab(47.53% -0.0153 0.0868)
OKLCHoklch(47.53% 0.088 100)
XYZxyz(9.7784, 10.8341, 2.3866)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#685D17 #172268
analogous
#683517 #685D17 #4A6817
triadic
#685D17 #17685D #5D1768
tetradic
#685D17 #176835 #172268 #68174A
square
#685D17 #176835 #172268 #68174A
split-complementary
#685D17 #174A68 #351768
monochromatic
#191606 #36300C #685D17 #9A8A22 #CCB72D

Accessibility & contrast

On white

6.63
#685D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#685D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #685D17
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##685D17#FFFFFF#000000##FFFFFF
##685D171.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A0B
Deuteranopia (green-blind)
#6A5E1C
Tritanopia (blue-blind)
#71564F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #685d17;
/* rgb */ color: rgb(104, 93, 23);
/* oklch */ color: oklch(47.5% 0.088 100.0);
Tailwind
colors: {
  custom: {
    50: '#968a5a',
    500: '#685d17',
    950: '#000000',
  },
}
SCSS
$custom: #685d17;
$custom-light: #968a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#685d17",
  "rgb": {
    "r": 104,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 51.852,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47534,
    "c": 0.08817,
    "h": 100
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

primary
#685D17
secondary
#3D4A9E
accent
#58E741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #685D17

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

Preview Lab → · Contrast checker → · Palette generator →

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