#685A12#685A12

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

Color values

HEX#685A12
RGBrgb(104, 90, 18)
HSLhsl(50, 70%, 24%)
HSVhsv(50, 83%, 41%)
CMYKcmyk(0%, 13.5%, 82.7%, 59.2%)
CIE-LABlab(38.37, -2.54, 40.45)
CIE-LCHlch(38.37, 40.53, 93.59°)
OKLaboklab(46.79% -0.0115 0.088)
OKLCHoklch(46.79% 0.089 97.5)
XYZxyz(9.4748, 10.2996, 2.0611)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#685A12 #122068
analogous
#682F12 #685A12 #4B6812
triadic
#685A12 #12685A #5A1268
tetradic
#685A12 #12682F #122068 #68124B
square
#685A12 #12682F #122068 #68124B
split-complementary
#685A12 #124B68 #2F1268
monochromatic
#1A1705 #342D09 #685A12 #9C871B #D0B424

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##685A12#FFFFFF#000000##FFFFFF
##685A121.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)
#645803
Deuteranopia (green-blind)
#685C17
Tritanopia (blue-blind)
#71524C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #685a12;
/* rgb */ color: rgb(104, 90, 18);
/* oklch */ color: oklch(46.8% 0.089 97.5);
Tailwind
colors: {
  custom: {
    50: '#968857',
    500: '#685a12',
    950: '#000000',
  },
}
SCSS
$custom: #685a12;
$custom-light: #968857;
$custom-dark: #000000;
JSON
{
  "hex": "#685a12",
  "rgb": {
    "r": 104,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 50.233,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46791,
    "c": 0.08877,
    "h": 97.5
  },
  "luminance": 0.10299
}

Semantic roles & 50–950 ramp

primary
#685A12
secondary
#3647A0
accent
#58ED3B
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B03
muted
#7E7C78

Preview Lab

Preview with #685A12

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

Preview Lab → · Contrast checker → · Palette generator →

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