#685A0F#685A0F

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

Color values

HEX#685A0F
RGBrgb(104, 90, 15)
HSLhsl(51, 75%, 23%)
HSVhsv(51, 86%, 41%)
CMYKcmyk(0%, 13.5%, 85.6%, 59.2%)
CIE-LABlab(38.36, -2.66, 41.48)
CIE-LCHlch(38.36, 41.57, 93.66°)
OKLaboklab(46.77% -0.0122 0.0896)
OKLCHoklch(46.77% 0.09 97.7)
XYZxyz(9.4518, 10.2904, 1.9402)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#685A0F #0F1D68
analogous
#682D0F #685A0F #49680F
triadic
#685A0F #0F685A #5A0F68
tetradic
#685A0F #0F682D #0F1D68 #680F49
square
#685A0F #0F682D #0F1D68 #680F49
split-complementary
#685A0F #0F4968 #2D0F68
monochromatic
#1B1704 #332C07 #685A0F #9D8817 #D3B71E

Accessibility & contrast

On white

6.87
#685A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #685A0F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##685A0F#FFFFFF#000000##FFFFFF
##685A0F1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645800
Deuteranopia (green-blind)
#685C15
Tritanopia (blue-blind)
#71524C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #685a0f;
/* rgb */ color: rgb(104, 90, 15);
/* oklch */ color: oklch(46.8% 0.090 97.7);
Tailwind
colors: {
  custom: {
    50: '#978855',
    500: '#685a0f',
    950: '#000000',
  },
}
SCSS
$custom: #685a0f;
$custom-light: #978855;
$custom-dark: #000000;
JSON
{
  "hex": "#685a0f",
  "rgb": {
    "r": 104,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 50.562,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46773,
    "c": 0.0904,
    "h": 97.7
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#685A0F
secondary
#3244A1
accent
#54F136
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B03
muted
#7E7C78

Preview Lab

Preview with #685A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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