#6B661B#6B661B

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

Color values

HEX#6B661B
RGBrgb(107, 102, 27)
HSLhsl(56, 60%, 26%)
HSVhsv(56, 75%, 42%)
CMYKcmyk(0%, 4.7%, 74.8%, 58%)
CIE-LABlab(42.32, -7.62, 40.76)
CIE-LCHlch(42.32, 41.47, 100.59°)
OKLaboklab(50.01% -0.0251 0.0905)
OKLCHoklch(50.01% 0.094 105.5)
XYZxyz(11.0130, 12.7081, 2.9095)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B661B #1B206B
analogous
#6B3E1B #6B661B #486B1B
triadic
#6B661B #1B6B66 #661B6B
tetradic
#6B661B #1B6B3E #1B206B #6B1B48
square
#6B661B #1B6B3E #1B206B #6B1B48
split-complementary
#6B661B #1B486B #3E1B6B
monochromatic
#181706 #3A370F #6B661B #9C9527 #CCC235

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B661B#FFFFFF#000000##FFFFFF
##6B661B1.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)
#6F620E
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#735F57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b661b;
/* rgb */ color: rgb(107, 102, 27);
/* oklch */ color: oklch(50.0% 0.094 105.5);
Tailwind
colors: {
  custom: {
    50: '#98915d',
    500: '#6b661b',
    950: '#000000',
  },
}
SCSS
$custom: #6b661b;
$custom-light: #98915d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b661b",
  "rgb": {
    "r": 107,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 56.25,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50014,
    "c": 0.09388,
    "h": 105.5
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

primary
#6B661B
secondary
#4248A0
accent
#4FE345
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B661B

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

Preview Lab → · Contrast checker → · Palette generator →

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