#6B661A#6B661A

#6B661A is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 50.0% C 0.095 H 105.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6B661A
RGBrgb(107, 102, 26)
HSLhsl(56, 61%, 26%)
HSVhsv(56, 76%, 42%)
CMYKcmyk(0%, 4.7%, 75.7%, 58%)
CIE-LABlab(42.31, -7.67, 41.16)
CIE-LCHlch(42.31, 41.87, 100.56°)
OKLaboklab(50.01% -0.0253 0.0911)
OKLCHoklch(50.01% 0.095 105.5)
XYZxyz(11.0017, 12.7035, 2.8496)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B661A #1A1F6B
analogous
#6B3D1A #6B661A #476B1A
triadic
#6B661A #1A6B66 #661A6B
tetradic
#6B661A #1A6B3D #1A1F6B #6B1A47
square
#6B661A #1A6B3D #1A1F6B #6B1A47
split-complementary
#6B661A #1A476B #3D1A6B
monochromatic
#191706 #3A370E #6B661A #9C9526 #CDC432

Accessibility & contrast

On white

5.93
#6B661A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6B661A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B661A
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B661A#FFFFFF#000000##FFFFFF
##6B661A1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F620D
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#735F57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b661a;
/* rgb */ color: rgb(107, 102, 26);
/* oklch */ color: oklch(50.0% 0.095 105.5);
Tailwind
colors: {
  custom: {
    50: '#98915c',
    500: '#6b661a',
    950: '#000000',
  },
}
SCSS
$custom: #6b661a;
$custom-light: #98915c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b661a",
  "rgb": {
    "r": 107,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 56.296,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50007,
    "c": 0.09457,
    "h": 105.5
  },
  "luminance": 0.12703
}

Semantic roles & 50–950 ramp

primary
#6B661A
secondary
#4046A0
accent
#4EE444
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B661A

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

Preview Lab → · Contrast checker → · Palette generator →

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