#685F28#685F28

#685F28 is a mid, moderate yellow. Relative luminance 0.113; OKLCH L 48.2% C 0.076 H 100.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#685F28
RGBrgb(104, 95, 40)
HSLhsl(52, 44%, 28%)
HSVhsv(52, 62%, 41%)
CMYKcmyk(0%, 8.7%, 61.5%, 59.2%)
CIE-LABlab(40.05, -4.11, 32.16)
CIE-LCHlch(40.05, 32.42, 97.28°)
OKLaboklab(48.18% -0.0133 0.0745)
OKLCHoklch(48.18% 0.076 100.1)
XYZxyz(10.1845, 11.2811, 3.6481)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#685F28 #283168
analogous
#683F28 #685F28 #516828
triadic
#685F28 #28685F #5F2868
tetradic
#685F28 #28683F #283168 #682851
square
#685F28 #28683F #283168 #682851
split-complementary
#685F28 #285168 #3F2868
monochromatic
#161409 #3C3717 #685F28 #948739 #BBAC4F

Accessibility & contrast

On white

6.45
#685F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#685F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #685F28
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##685F28#FFFFFF#000000##FFFFFF
##685F281.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C22
Deuteranopia (green-blind)
#6A602B
Tritanopia (blue-blind)
#705953
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #685f28;
/* rgb */ color: rgb(104, 95, 40);
/* oklch */ color: oklch(48.2% 0.076 100.1);
Tailwind
colors: {
  custom: {
    50: '#958c64',
    500: '#685f28',
    950: '#000000',
  },
}
SCSS
$custom: #685f28;
$custom-light: #958c64;
$custom-dark: #000000;
JSON
{
  "hex": "#685f28",
  "rgb": {
    "r": 104,
    "g": 95,
    "b": 40
  },
  "hsl": {
    "h": 51.563,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48178,
    "c": 0.07572,
    "h": 100.1
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

primary
#685F28
secondary
#515C9B
accent
#66D454
background
#F9F8F6
surface
#F2F0EB
border
#CCCBC6
text
#0D0C05
muted
#7E7D7A

Preview Lab

Preview with #685F28

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

Preview Lab → · Contrast checker → · Palette generator →

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