#6B571A#6B571A

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

Color values

HEX#6B571A
RGBrgb(107, 87, 26)
HSLhsl(45, 61%, 26%)
HSVhsv(45, 76%, 42%)
CMYKcmyk(0%, 18.7%, 75.7%, 58%)
CIE-LABlab(37.87, 1.11, 36.79)
CIE-LCHlch(37.87, 36.81, 88.27°)
OKLaboklab(46.49% -0.0004 0.0819)
OKLCHoklch(46.49% 0.082 90.3)
XYZxyz(9.6586, 10.0174, 2.4019)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B571A #1A2E6B
analogous
#6B2E1A #6B571A #566B1A
triadic
#6B571A #1A6B57 #571A6B
tetradic
#6B571A #1A6B2E #1A2E6B #6B1A56
square
#6B571A #1A6B2E #1A2E6B #6B1A56
split-complementary
#6B571A #1A566B #2E1A6B
monochromatic
#191406 #3A2F0E #6B571A #9C7F26 #CDA732

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B571A#FFFFFF#000000##FFFFFF
##6B571A1.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)
#615611
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#744F4B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6b571a;
/* rgb */ color: rgb(107, 87, 26);
/* oklch */ color: oklch(46.5% 0.082 90.3);
Tailwind
colors: {
  custom: {
    50: '#98865b',
    500: '#6b571a',
    950: '#000000',
  },
}
SCSS
$custom: #6b571a;
$custom-light: #98865b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b571a",
  "rgb": {
    "r": 107,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 45.185,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46488,
    "c": 0.08186,
    "h": 90.3
  },
  "luminance": 0.10017
}

Semantic roles & 50–950 ramp

primary
#6B571A
secondary
#4058A0
accent
#6BE444
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #6B571A

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

Preview Lab → · Contrast checker → · Palette generator →

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