#6A581B#6A581B

#6A581B is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.6% C 0.082 H 92.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#6A581B
RGBrgb(106, 88, 27)
HSLhsl(46, 59%, 26%)
HSVhsv(46, 75%, 42%)
CMYKcmyk(0%, 17%, 74.5%, 58.4%)
CIE-LABlab(38.06, 0.08, 36.49)
CIE-LCHlch(38.06, 36.49, 89.87°)
OKLaboklab(46.61% -0.0031 0.0815)
OKLCHoklch(46.61% 0.082 92.2)
XYZxyz(9.6319, 10.1233, 2.4834)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A581B #1B2D6A
analogous
#6A301B #6A581B #546A1B
triadic
#6A581B #1B6A58 #581B6A
tetradic
#6A581B #1B6A30 #1B2D6A #6A1B54
square
#6A581B #1B6A30 #1B2D6A #6A1B54
split-complementary
#6A581B #1B546A #301B6A
monochromatic
#181406 #39300F #6A581B #9B8027 #CBA934

Accessibility & contrast

On white

6.94
#6A581B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6A581B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A581B
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A581B#FFFFFF#000000##FFFFFF
##6A581B1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a581b;
/* rgb */ color: rgb(106, 88, 27);
/* oklch */ color: oklch(46.6% 0.082 92.2);
Tailwind
colors: {
  custom: {
    50: '#98865b',
    500: '#6a581b',
    950: '#000000',
  },
}
SCSS
$custom: #6a581b;
$custom-light: #98865b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a581b",
  "rgb": {
    "r": 106,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 46.329,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46614,
    "c": 0.08154,
    "h": 92.2
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#6A581B
secondary
#42579F
accent
#69E345
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #6A581B

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

Preview Lab → · Contrast checker → · Palette generator →

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