#6B681A#6B681A

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

Color values

HEX#6B681A
RGBrgb(107, 104, 26)
HSLhsl(58, 61%, 26%)
HSVhsv(58, 76%, 42%)
CMYKcmyk(0%, 2.8%, 75.7%, 58%)
CIE-LABlab(42.92, -8.81, 41.74)
CIE-LCHlch(42.92, 42.66, 101.92°)
OKLaboklab(50.49% -0.0285 0.0923)
OKLCHoklch(50.49% 0.097 107.2)
XYZxyz(11.2006, 13.1014, 2.9159)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B681A #1A1D6B
analogous
#6B3F1A #6B681A #456B1A
triadic
#6B681A #1A6B68 #681A6B
tetradic
#6B681A #1A6B3F #1A1D6B #6B1A45
square
#6B681A #1A6B3F #1A1D6B #6B1A45
split-complementary
#6B681A #1A456B #3F1A6B
monochromatic
#191806 #3A380E #6B681A #9C9826 #CDC732

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B681A#FFFFFF#000000##FFFFFF
##6B681A1.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)
#71640C
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#736159
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b681a;
/* rgb */ color: rgb(107, 104, 26);
/* oklch */ color: oklch(50.5% 0.097 107.2);
Tailwind
colors: {
  custom: {
    50: '#98925d',
    500: '#6b681a',
    950: '#000000',
  },
}
SCSS
$custom: #6b681a;
$custom-light: #98925d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b681a",
  "rgb": {
    "r": 107,
    "g": 104,
    "b": 26
  },
  "hsl": {
    "h": 57.778,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50487,
    "c": 0.09665,
    "h": 107.2
  },
  "luminance": 0.13101
}

Semantic roles & 50–950 ramp

primary
#6B681A
secondary
#4044A0
accent
#4AE444
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6B681A

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

Preview Lab → · Contrast checker → · Palette generator →

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