#6C581B#6C581B

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

Color values

HEX#6C581B
RGBrgb(108, 88, 27)
HSLhsl(45, 60%, 26%)
HSVhsv(45, 75%, 42%)
CMYKcmyk(0%, 18.5%, 75%, 57.6%)
CIE-LABlab(38.28, 1.06, 36.79)
CIE-LCHlch(38.28, 36.80, 88.35°)
OKLaboklab(46.84% -0.0005 0.082)
OKLCHoklch(46.84% 0.082 90.3)
XYZxyz(9.8724, 10.2473, 2.4946)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C581B #1B2F6C
analogous
#6C301B #6C581B #586C1B
triadic
#6C581B #1B6C58 #581B6C
tetradic
#6C581B #1B6C30 #1B2F6C #6C1B58
square
#6C581B #1B6C30 #1B2F6C #6C1B58
split-complementary
#6C581B #1B586C #301B6C
monochromatic
#181406 #3B300F #6C581B #9D8027 #CCA735

Accessibility & contrast

On white

6.89
#6C581B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6C581B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C581B
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C581B#FFFFFF#000000##FFFFFF
##6C581B1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c581b;
/* rgb */ color: rgb(108, 88, 27);
/* oklch */ color: oklch(46.8% 0.082 90.3);
Tailwind
colors: {
  custom: {
    50: '#99865b',
    500: '#6c581b',
    950: '#000000',
  },
}
SCSS
$custom: #6c581b;
$custom-light: #99865b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c581b",
  "rgb": {
    "r": 108,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 45.185,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46839,
    "c": 0.08201,
    "h": 90.3
  },
  "luminance": 0.10247
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C581B

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

Preview Lab → · Contrast checker → · Palette generator →

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