#6C661C#6C661C

#6C661C is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.1% C 0.093 H 104.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6C661C
RGBrgb(108, 102, 28)
HSLhsl(56, 59%, 27%)
HSVhsv(56, 74%, 42%)
CMYKcmyk(0%, 5.6%, 74.1%, 57.6%)
CIE-LABlab(42.42, -7.09, 40.48)
CIE-LCHlch(42.42, 41.09, 99.93°)
OKLaboklab(50.12% -0.0235 0.09)
OKLCHoklch(50.12% 0.093 104.7)
XYZxyz(11.1458, 12.7752, 2.9771)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C661C #1C226C
analogous
#6C3E1C #6C661C #4A6C1C
triadic
#6C661C #1C6C66 #661C6C
tetradic
#6C661C #1C6C3E #1C226C #6C1C4A
square
#6C661C #1C6C3E #1C226C #6C1C4A
split-complementary
#6C661C #1C4A6C #3E1C6C
monochromatic
#181706 #3B380F #6C661C #9D9429 #CBC037

Accessibility & contrast

On white

5.91
#6C661C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6C661C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C661C
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C661C#FFFFFF#000000##FFFFFF
##6C661C1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6210
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#745F57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6c661c;
/* rgb */ color: rgb(108, 102, 28);
/* oklch */ color: oklch(50.1% 0.093 104.7);
Tailwind
colors: {
  custom: {
    50: '#99915e',
    500: '#6c661c',
    950: '#000000',
  },
}
SCSS
$custom: #6c661c;
$custom-light: #99915e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c661c",
  "rgb": {
    "r": 108,
    "g": 102,
    "b": 28
  },
  "hsl": {
    "h": 55.5,
    "s": 58.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50121,
    "c": 0.09305,
    "h": 104.7
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

primary
#6C661C
secondary
#434AA1
accent
#51E246
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6C661C

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

Preview Lab → · Contrast checker → · Palette generator →

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