#6A671A#6A671A

#6A671A is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.1% C 0.096 H 107.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6A671A
RGBrgb(106, 103, 26)
HSLhsl(58, 61%, 26%)
HSVhsv(58, 75%, 42%)
CMYKcmyk(0%, 2.8%, 75.5%, 58.4%)
CIE-LABlab(42.52, -8.72, 41.33)
CIE-LCHlch(42.52, 42.24, 101.92°)
OKLaboklab(50.15% -0.0282 0.0915)
OKLCHoklch(50.15% 0.096 107.2)
XYZxyz(10.9810, 12.8396, 2.8769)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A671A #1A1D6A
analogous
#6A3F1A #6A671A #456A1A
triadic
#6A671A #1A6A67 #671A6A
tetradic
#6A671A #1A6A3F #1A1D6A #6A1A45
square
#6A671A #1A6A3F #1A1D6A #6A1A45
split-complementary
#6A671A #1A456A #3F1A6A
monochromatic
#191806 #39370E #6A671A #9B9726 #CCC732

Accessibility & contrast

On white

5.89
#6A671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6A671A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A671A
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A671A#FFFFFF#000000##FFFFFF
##6A671A1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630C
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#726058
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a671a;
/* rgb */ color: rgb(106, 103, 26);
/* oklch */ color: oklch(50.1% 0.096 107.2);
Tailwind
colors: {
  custom: {
    50: '#97925d',
    500: '#6a671a',
    950: '#000000',
  },
}
SCSS
$custom: #6a671a;
$custom-light: #97925d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a671a",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 57.75,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50149,
    "c": 0.09576,
    "h": 107.2
  },
  "luminance": 0.12839
}

Semantic roles & 50–950 ramp

primary
#6A671A
secondary
#40449F
accent
#4AE444
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A671A

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

Preview Lab → · Contrast checker → · Palette generator →

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