#6A571B#6A571B

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

Color values

HEX#6A571B
RGBrgb(106, 87, 27)
HSLhsl(46, 59%, 26%)
HSVhsv(46, 75%, 42%)
CMYKcmyk(0%, 17.9%, 74.5%, 58.4%)
CIE-LABlab(37.77, 0.68, 36.20)
CIE-LCHlch(37.77, 36.20, 88.93°)
OKLaboklab(46.38% -0.0014 0.0809)
OKLCHoklch(46.38% 0.081 91)
XYZxyz(9.5504, 9.9603, 2.4562)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A571B #1B2E6A
analogous
#6A2F1B #6A571B #556A1B
triadic
#6A571B #1B6A57 #571B6A
tetradic
#6A571B #1B6A2F #1B2E6A #6A1B55
square
#6A571B #1B6A2F #1B2E6A #6A1B55
split-complementary
#6A571B #1B556A #2F1B6A
monochromatic
#181406 #392F0F #6A571B #9B7F27 #CBA734

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A571B#FFFFFF#000000##FFFFFF
##6A571B1.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)
#615613
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#734F4B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a571b;
/* rgb */ color: rgb(106, 87, 27);
/* oklch */ color: oklch(46.4% 0.081 91.0);
Tailwind
colors: {
  custom: {
    50: '#98865b',
    500: '#6a571b',
    950: '#000000',
  },
}
SCSS
$custom: #6a571b;
$custom-light: #98865b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a571b",
  "rgb": {
    "r": 106,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 45.57,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46384,
    "c": 0.08086,
    "h": 91
  },
  "luminance": 0.0996
}

Semantic roles & 50–950 ramp

primary
#6A571B
secondary
#42589F
accent
#6BE345
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #6A571B

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

Preview Lab → · Contrast checker → · Palette generator →

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