#6B661F#6B661F

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

Color values

HEX#6B661F
RGBrgb(107, 102, 31)
HSLhsl(56, 55%, 27%)
HSVhsv(56, 71%, 42%)
CMYKcmyk(0%, 4.7%, 71%, 58%)
CIE-LABlab(42.35, -7.39, 39.08)
CIE-LCHlch(42.35, 39.77, 100.71°)
OKLaboklab(50.05% -0.024 0.0877)
OKLCHoklch(50.05% 0.091 105.3)
XYZxyz(11.0625, 12.7279, 3.1701)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B661F #1F246B
analogous
#6B401F #6B661F #4A6B1F
triadic
#6B661F #1F6B66 #661F6B
tetradic
#6B661F #1F6B40 #1F246B #6B1F4A
square
#6B661F #1F6B40 #1F246B #6B1F4A
split-complementary
#6B661F #1F4A6B #401F6B
monochromatic
#181707 #3C3911 #6B661F #9A932D #C7BE3D

Accessibility & contrast

On white

5.92
#6B661F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B661F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B661F#FFFFFF#000000##FFFFFF
##6B661F1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6215
Deuteranopia (green-blind)
#716524
Tritanopia (blue-blind)
#735F58
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b661f;
/* rgb */ color: rgb(107, 102, 31);
/* oklch */ color: oklch(50.0% 0.091 105.3);
Tailwind
colors: {
  custom: {
    50: '#98915f',
    500: '#6b661f',
    950: '#000000',
  },
}
SCSS
$custom: #6b661f;
$custom-light: #98915f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b661f",
  "rgb": {
    "r": 107,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 56.053,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50048,
    "c": 0.09089,
    "h": 105.3
  },
  "luminance": 0.12727
}

Semantic roles & 50–950 ramp

primary
#6B661F
secondary
#474C9F
accent
#53DE49
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6B661F

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

Preview Lab → · Contrast checker → · Palette generator →

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