#6A571D#6A571D

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

Color values

HEX#6A571D
RGBrgb(106, 87, 29)
HSLhsl(45, 57%, 26%)
HSVhsv(45, 73%, 42%)
CMYKcmyk(0%, 17.9%, 72.6%, 58.4%)
CIE-LABlab(37.79, 0.80, 35.28)
CIE-LCHlch(37.79, 35.29, 88.70°)
OKLaboklab(46.4% -0.0008 0.0793)
OKLCHoklch(46.4% 0.079 90.6)
XYZxyz(9.5743, 9.9698, 2.5822)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A571D #1D306A
analogous
#6A311D #6A571D #576A1D
triadic
#6A571D #1D6A57 #571D6A
tetradic
#6A571D #1D6A31 #1D306A #6A1D57
square
#6A571D #1D6A31 #1D306A #6A1D57
split-complementary
#6A571D #1D576A #311D6A
monochromatic
#181407 #3A3010 #6A571D #9A7E2A #C9A539

Accessibility & contrast

On white

7.01
#6A571D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A571D
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A571D#FFFFFF#000000##FFFFFF
##6A571D1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615616
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#73504B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a571d;
/* rgb */ color: rgb(106, 87, 29);
/* oklch */ color: oklch(46.4% 0.079 90.6);
Tailwind
colors: {
  custom: {
    50: '#97865c',
    500: '#6a571d',
    950: '#000000',
  },
}
SCSS
$custom: #6a571d;
$custom-light: #97865c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a571d",
  "rgb": {
    "r": 106,
    "g": 87,
    "b": 29
  },
  "hsl": {
    "h": 45.195,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46403,
    "c": 0.0793,
    "h": 90.6
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

primary
#6A571D
secondary
#445A9F
accent
#6DE048
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #6A571D

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

Preview Lab → · Contrast checker → · Palette generator →

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