#666A2A#666A2A

#666A2A is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.7% C 0.087 H 112.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#666A2A
RGBrgb(102, 106, 42)
HSLhsl(64, 43%, 29%)
HSVhsv(64, 60%, 42%)
CMYKcmyk(3.8%, 0%, 60.4%, 58.4%)
CIE-LABlab(43.21, -11.18, 34.65)
CIE-LCHlch(43.21, 36.41, 107.89°)
OKLaboklab(50.66% -0.0331 0.0802)
OKLCHoklch(50.66% 0.087 112.4)
XYZxyz(11.0517, 13.3002, 4.1751)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A2A #2E2A6A
analogous
#6A4E2A #666A2A #466A2A
triadic
#666A2A #2A666A #6A2A66
tetradic
#666A2A #2A6A4E #2E2A6A #6A2A46
square
#666A2A #2A6A4E #2E2A6A #6A2A46
split-complementary
#666A2A #2A466A #4E2A6A
monochromatic
#151609 #3C3E19 #666A2A #90963B #B5BB53

Accessibility & contrast

On white

5.74
#666A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#666A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666A2A
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666A2A#FFFFFF#000000##FFFFFF
##666A2A1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726523
Deuteranopia (green-blind)
#72672E
Tritanopia (blue-blind)
#6D645C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666a2a;
/* rgb */ color: rgb(102, 106, 42);
/* oklch */ color: oklch(50.7% 0.087 112.4);
Tailwind
colors: {
  custom: {
    50: '#939466',
    500: '#666a2a',
    950: '#000000',
  },
}
SCSS
$custom: #666a2a;
$custom-light: #939466;
$custom-dark: #000000;
JSON
{
  "hex": "#666a2a",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 42
  },
  "hsl": {
    "h": 63.75,
    "s": 43.243,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50658,
    "c": 0.08672,
    "h": 112.4
  },
  "luminance": 0.133
}

Semantic roles & 50–950 ramp

primary
#666A2A
secondary
#58549C
accent
#55D35D
background
#F9F9F6
surface
#F2F1EB
border
#CCCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666A2A

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

Preview Lab → · Contrast checker → · Palette generator →

#666A2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva