#6B681C#6B681C

#6B681C 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#6B681C
RGBrgb(107, 104, 28)
HSLhsl(58, 59%, 26%)
HSVhsv(58, 74%, 42%)
CMYKcmyk(0%, 2.8%, 73.8%, 58%)
CIE-LABlab(42.93, -8.70, 40.94)
CIE-LCHlch(42.93, 41.86, 102.00°)
OKLaboklab(50.5% -0.028 0.091)
OKLCHoklch(50.5% 0.095 107.1)
XYZxyz(11.2237, 13.1107, 3.0378)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B681C #1C1F6B
analogous
#6B411C #6B681C #476B1C
triadic
#6B681C #1C6B68 #681C6B
tetradic
#6B681C #1C6B41 #1C1F6B #6B1C47
square
#6B681C #1C6B41 #1C1F6B #6B1C47
split-complementary
#6B681C #1C476B #411C6B
monochromatic
#181806 #3A390F #6B681C #9C9729 #CBC537

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B681C#FFFFFF#000000##FFFFFF
##6B681C1.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)
#716410
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#736159
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b681c;
/* rgb */ color: rgb(107, 104, 28);
/* oklch */ color: oklch(50.5% 0.095 107.1);
Tailwind
colors: {
  custom: {
    50: '#98925e',
    500: '#6b681c',
    950: '#000000',
  },
}
SCSS
$custom: #6b681c;
$custom-light: #98925e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b681c",
  "rgb": {
    "r": 107,
    "g": 104,
    "b": 28
  },
  "hsl": {
    "h": 57.722,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50502,
    "c": 0.09525,
    "h": 107.1
  },
  "luminance": 0.1311
}

Semantic roles & 50–950 ramp

primary
#6B681C
secondary
#4346A0
accent
#4CE246
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D05
muted
#7E7D79

Preview Lab

Preview with #6B681C

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

Preview Lab → · Contrast checker → · Palette generator →

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