#6B581B#6B581B

#6B581B is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.7% C 0.082 H 91.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#6B581B
RGBrgb(107, 88, 27)
HSLhsl(46, 60%, 26%)
HSVhsv(46, 75%, 42%)
CMYKcmyk(0%, 17.8%, 74.8%, 58%)
CIE-LABlab(38.17, 0.57, 36.64)
CIE-LCHlch(38.17, 36.64, 89.11°)
OKLaboklab(46.73% -0.0018 0.0817)
OKLCHoklch(46.73% 0.082 91.3)
XYZxyz(9.7515, 10.1850, 2.4890)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B581B #1B2E6B
analogous
#6B301B #6B581B #566B1B
triadic
#6B581B #1B6B58 #581B6B
tetradic
#6B581B #1B6B30 #1B2E6B #6B1B56
square
#6B581B #1B6B30 #1B2E6B #6B1B56
split-complementary
#6B581B #1B566B #301B6B
monochromatic
#181406 #3A300F #6B581B #9C8027 #CCA835

Accessibility & contrast

On white

6.92
#6B581B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6B581B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B581B
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B581B#FFFFFF#000000##FFFFFF
##6B581B1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625712
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#74504C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6b581b;
/* rgb */ color: rgb(107, 88, 27);
/* oklch */ color: oklch(46.7% 0.082 91.3);
Tailwind
colors: {
  custom: {
    50: '#98865b',
    500: '#6b581b',
    950: '#000000',
  },
}
SCSS
$custom: #6b581b;
$custom-light: #98865b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b581b",
  "rgb": {
    "r": 107,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 45.75,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46726,
    "c": 0.08176,
    "h": 91.3
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#6B581B
secondary
#4258A0
accent
#6AE345
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #6B581B

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

Preview Lab → · Contrast checker → · Palette generator →

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