#6B661D#6B661D

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

Color values

HEX#6B661D
RGBrgb(107, 102, 29)
HSLhsl(56, 57%, 27%)
HSVhsv(56, 73%, 42%)
CMYKcmyk(0%, 4.7%, 72.9%, 58%)
CIE-LABlab(42.33, -7.51, 39.93)
CIE-LCHlch(42.33, 40.63, 100.65°)
OKLaboklab(50.03% -0.0245 0.0891)
OKLCHoklch(50.03% 0.092 105.4)
XYZxyz(11.0370, 12.7177, 3.0355)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B661D #1D226B
analogous
#6B3F1D #6B661D #496B1D
triadic
#6B661D #1D6B66 #661D6B
tetradic
#6B661D #1D6B3F #1D226B #6B1D49
square
#6B661D #1D6B3F #1D226B #6B1D49
split-complementary
#6B661D #1D496B #3F1D6B
monochromatic
#181707 #3B3810 #6B661D #9B942A #C9C039

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B661D#FFFFFF#000000##FFFFFF
##6B661D1.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)
#6F6212
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#735F57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b661d;
/* rgb */ color: rgb(107, 102, 29);
/* oklch */ color: oklch(50.0% 0.092 105.4);
Tailwind
colors: {
  custom: {
    50: '#98915e',
    500: '#6b661d',
    950: '#000000',
  },
}
SCSS
$custom: #6b661d;
$custom-light: #98915e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b661d",
  "rgb": {
    "r": 107,
    "g": 102,
    "b": 29
  },
  "hsl": {
    "h": 56.154,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50031,
    "c": 0.09242,
    "h": 105.4
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#6B661D
secondary
#444AA0
accent
#51E147
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6B661D

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

Preview Lab → · Contrast checker → · Palette generator →

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