#6B681D#6B681D

#6B681D is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.5% C 0.095 H 107.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6B681D
RGBrgb(107, 104, 29)
HSLhsl(58, 57%, 27%)
HSVhsv(58, 73%, 42%)
CMYKcmyk(0%, 2.8%, 72.9%, 58%)
CIE-LABlab(42.94, -8.65, 40.53)
CIE-LCHlch(42.94, 41.44, 102.04°)
OKLaboklab(50.51% -0.0277 0.0904)
OKLCHoklch(50.51% 0.095 107.1)
XYZxyz(11.2359, 13.1155, 3.1018)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B681D #1D206B
analogous
#6B411D #6B681D #476B1D
triadic
#6B681D #1D6B68 #681D6B
tetradic
#6B681D #1D6B41 #1D206B #6B1D47
square
#6B681D #1D6B41 #1D206B #6B1D47
split-complementary
#6B681D #1D476B #411D6B
monochromatic
#181707 #3B3910 #6B681D #9B972A #C9C439

Accessibility & contrast

On white

5.80
#6B681D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6B681D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B681D
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B681D#FFFFFF#000000##FFFFFF
##6B681D1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716411
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#736159
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b681d;
/* rgb */ color: rgb(107, 104, 29);
/* oklch */ color: oklch(50.5% 0.095 107.1);
Tailwind
colors: {
  custom: {
    50: '#98925e',
    500: '#6b681d',
    950: '#000000',
  },
}
SCSS
$custom: #6b681d;
$custom-light: #98925e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b681d",
  "rgb": {
    "r": 107,
    "g": 104,
    "b": 29
  },
  "hsl": {
    "h": 57.692,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.5051,
    "c": 0.09453,
    "h": 107.1
  },
  "luminance": 0.13115
}

Semantic roles & 50–950 ramp

primary
#6B681D
secondary
#4448A0
accent
#4DE147
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D05
muted
#7E7D79

Preview Lab

Preview with #6B681D

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

Preview Lab → · Contrast checker → · Palette generator →

#6B681D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva