#6B571B#6B571B

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

Color values

HEX#6B571B
RGBrgb(107, 87, 27)
HSLhsl(45, 60%, 26%)
HSVhsv(45, 75%, 42%)
CMYKcmyk(0%, 18.7%, 74.8%, 58%)
CIE-LABlab(37.88, 1.17, 36.35)
CIE-LCHlch(37.88, 36.36, 88.16°)
OKLaboklab(46.5% -0.0001 0.0811)
OKLCHoklch(46.5% 0.081 90.1)
XYZxyz(9.6700, 10.0219, 2.4618)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B571B #1B2F6B
analogous
#6B2F1B #6B571B #576B1B
triadic
#6B571B #1B6B57 #571B6B
tetradic
#6B571B #1B6B2F #1B2F6B #6B1B57
square
#6B571B #1B6B2F #1B2F6B #6B1B57
split-complementary
#6B571B #1B576B #2F1B6B
monochromatic
#181406 #3A2F0F #6B571B #9C7F27 #CCA635

Accessibility & contrast

On white

6.99
#6B571B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#6B571B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B571B
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B571B#FFFFFF#000000##FFFFFF
##6B571B1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615613
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#744F4B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6b571b;
/* rgb */ color: rgb(107, 87, 27);
/* oklch */ color: oklch(46.5% 0.081 90.1);
Tailwind
colors: {
  custom: {
    50: '#98865b',
    500: '#6b571b',
    950: '#000000',
  },
}
SCSS
$custom: #6b571b;
$custom-light: #98865b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b571b",
  "rgb": {
    "r": 107,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 45,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46497,
    "c": 0.08112,
    "h": 90.1
  },
  "luminance": 0.10021
}

Semantic roles & 50–950 ramp

primary
#6B571B
secondary
#4259A0
accent
#6CE345
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #6B571B

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

Preview Lab → · Contrast checker → · Palette generator →

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