#6C661B#6C661B

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

Color values

HEX#6C661B
RGBrgb(108, 102, 27)
HSLhsl(56, 60%, 26%)
HSVhsv(56, 75%, 42%)
CMYKcmyk(0%, 5.6%, 75%, 57.6%)
CIE-LABlab(42.42, -7.14, 40.88)
CIE-LCHlch(42.42, 41.50, 99.91°)
OKLaboklab(50.11% -0.0238 0.0907)
OKLCHoklch(50.11% 0.094 104.7)
XYZxyz(11.1340, 12.7705, 2.9152)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C661B #1B216C
analogous
#6C3E1B #6C661B #4A6C1B
triadic
#6C661B #1B6C66 #661B6C
tetradic
#6C661B #1B6C3E #1B216C #6C1B4A
square
#6C661B #1B6C3E #1B216C #6C1B4A
split-complementary
#6C661B #1B4A6C #3E1B6C
monochromatic
#181706 #3B380F #6C661B #9D9427 #CCC135

Accessibility & contrast

On white

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

On black

3.55
#6C661B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6C661B#FFFFFF#000000##FFFFFF
##6C661B1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c661b;
/* rgb */ color: rgb(108, 102, 27);
/* oklch */ color: oklch(50.1% 0.094 104.7);
Tailwind
colors: {
  custom: {
    50: '#99915d',
    500: '#6c661b',
    950: '#000000',
  },
}
SCSS
$custom: #6c661b;
$custom-light: #99915d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c661b",
  "rgb": {
    "r": 108,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 55.556,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50113,
    "c": 0.09375,
    "h": 104.7
  },
  "luminance": 0.1277
}

Semantic roles & 50–950 ramp

primary
#6C661B
secondary
#4249A1
accent
#50E345
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6C661B

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

Preview Lab → · Contrast checker → · Palette generator →

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