#6B661E#6B661E

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

Color values

HEX#6B661E
RGBrgb(107, 102, 30)
HSLhsl(56, 56%, 27%)
HSVhsv(56, 72%, 42%)
CMYKcmyk(0%, 4.7%, 72%, 58%)
CIE-LABlab(42.34, -7.45, 39.51)
CIE-LCHlch(42.34, 40.20, 100.68°)
OKLaboklab(50.04% -0.0243 0.0884)
OKLCHoklch(50.04% 0.092 105.3)
XYZxyz(11.0495, 12.7227, 3.1017)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B661E #1E236B
analogous
#6B401E #6B661E #4A6B1E
triadic
#6B661E #1E6B66 #661E6B
tetradic
#6B661E #1E6B40 #1E236B #6B1E4A
square
#6B661E #1E6B40 #1E236B #6B1E4A
split-complementary
#6B661E #1E4A6B #401E6B
monochromatic
#181707 #3B3811 #6B661E #9B942B #C8BF3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B661E#FFFFFF#000000##FFFFFF
##6B661E1.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b661e;
/* rgb */ color: rgb(107, 102, 30);
/* oklch */ color: oklch(50.0% 0.092 105.3);
Tailwind
colors: {
  custom: {
    50: '#98915f',
    500: '#6b661e',
    950: '#000000',
  },
}
SCSS
$custom: #6b661e;
$custom-light: #98915f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b661e",
  "rgb": {
    "r": 107,
    "g": 102,
    "b": 30
  },
  "hsl": {
    "h": 56.104,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50039,
    "c": 0.09167,
    "h": 105.3
  },
  "luminance": 0.12722
}

Semantic roles & 50–950 ramp

primary
#6B661E
secondary
#454B9F
accent
#52DF48
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6B661E

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

Preview Lab → · Contrast checker → · Palette generator →

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