#6A571A#6A571A

#6A571A is a mid, moderate yellow. Relative luminance 0.100; OKLCH L 46.4% C 0.082 H 91.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6A571A
RGBrgb(106, 87, 26)
HSLhsl(46, 61%, 26%)
HSVhsv(46, 75%, 42%)
CMYKcmyk(0%, 17.9%, 75.5%, 58.4%)
CIE-LABlab(37.76, 0.62, 36.65)
CIE-LCHlch(37.76, 36.65, 89.03°)
OKLaboklab(46.38% -0.0017 0.0816)
OKLCHoklch(46.38% 0.082 91.2)
XYZxyz(9.5390, 9.9557, 2.3963)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A571A #1A2D6A
analogous
#6A2F1A #6A571A #556A1A
triadic
#6A571A #1A6A57 #571A6A
tetradic
#6A571A #1A6A2F #1A2D6A #6A1A55
square
#6A571A #1A6A2F #1A2D6A #6A1A55
split-complementary
#6A571A #1A556A #2F1A6A
monochromatic
#191406 #392F0E #6A571A #9B7F26 #CCA832

Accessibility & contrast

On white

7.02
#6A571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6A571A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A571A
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A571A#FFFFFF#000000##FFFFFF
##6A571A1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615611
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#734F4B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a571a;
/* rgb */ color: rgb(106, 87, 26);
/* oklch */ color: oklch(46.4% 0.082 91.2);
Tailwind
colors: {
  custom: {
    50: '#98865b',
    500: '#6a571a',
    950: '#000000',
  },
}
SCSS
$custom: #6a571a;
$custom-light: #98865b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a571a",
  "rgb": {
    "r": 106,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 45.75,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46375,
    "c": 0.08162,
    "h": 91.2
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

primary
#6A571A
secondary
#40579F
accent
#6AE444
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #6A571A

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

Preview Lab → · Contrast checker → · Palette generator →

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