#6C641B#6C641B

#6C641B is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.6% C 0.092 H 102.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6C641B
RGBrgb(108, 100, 27)
HSLhsl(54, 60%, 26%)
HSVhsv(54, 75%, 42%)
CMYKcmyk(0%, 7.4%, 75%, 57.6%)
CIE-LABlab(41.82, -5.99, 40.30)
CIE-LCHlch(41.82, 40.74, 98.46°)
OKLaboklab(49.64% -0.0206 0.0895)
OKLCHoklch(49.64% 0.092 102.9)
XYZxyz(10.9398, 12.3821, 2.8504)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C641B #1B236C
analogous
#6C3C1B #6C641B #4C6C1B
triadic
#6C641B #1B6C64 #641B6C
tetradic
#6C641B #1B6C3C #1B236C #6C1B4C
square
#6C641B #1B6C3C #1B236C #6C1B4C
split-complementary
#6C641B #1B4C6C #3C1B6C
monochromatic
#181706 #3B370F #6C641B #9D9127 #CCBE35

Accessibility & contrast

On white

6.04
#6C641B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6C641B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C641B
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C641B#FFFFFF#000000##FFFFFF
##6C641B1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610F
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#755D56
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6c641b;
/* rgb */ color: rgb(108, 100, 27);
/* oklch */ color: oklch(49.6% 0.092 102.9);
Tailwind
colors: {
  custom: {
    50: '#998f5d',
    500: '#6c641b',
    950: '#000000',
  },
}
SCSS
$custom: #6c641b;
$custom-light: #998f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c641b",
  "rgb": {
    "r": 108,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 54.074,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49637,
    "c": 0.09178,
    "h": 102.9
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#6C641B
secondary
#424BA1
accent
#54E345
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6C641B

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

Preview Lab → · Contrast checker → · Palette generator →

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