#6A571C#6A571C

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

Color values

HEX#6A571C
RGBrgb(106, 87, 28)
HSLhsl(45, 58%, 26%)
HSVhsv(45, 74%, 42%)
CMYKcmyk(0%, 17.9%, 73.6%, 58.4%)
CIE-LABlab(37.78, 0.74, 35.74)
CIE-LCHlch(37.78, 35.75, 88.82°)
OKLaboklab(46.39% -0.0011 0.0801)
OKLCHoklch(46.39% 0.08 90.8)
XYZxyz(9.5622, 9.9650, 2.5182)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A571C #1C2F6A
analogous
#6A301C #6A571C #566A1C
triadic
#6A571C #1C6A57 #571C6A
tetradic
#6A571C #1C6A30 #1C2F6A #6A1C56
square
#6A571C #1C6A30 #1C2F6A #6A1C56
split-complementary
#6A571C #1C566A #301C6A
monochromatic
#181406 #3A2F0F #6A571C #9A7F29 #CAA636

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A571C#FFFFFF#000000##FFFFFF
##6A571C1.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)
#615614
Deuteranopia (green-blind)
#665B1F
Tritanopia (blue-blind)
#734F4B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a571c;
/* rgb */ color: rgb(106, 87, 28);
/* oklch */ color: oklch(46.4% 0.080 90.8);
Tailwind
colors: {
  custom: {
    50: '#98865c',
    500: '#6a571c',
    950: '#000000',
  },
}
SCSS
$custom: #6a571c;
$custom-light: #98865c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a571c",
  "rgb": {
    "r": 106,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 45.385,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46393,
    "c": 0.08009,
    "h": 90.8
  },
  "luminance": 0.09964
}

Semantic roles & 50–950 ramp

primary
#6A571C
secondary
#43599F
accent
#6CE146
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #6A571C

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

Preview Lab → · Contrast checker → · Palette generator →

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