#666A2B#666A2B

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

Color values

HEX#666A2B
RGBrgb(102, 106, 43)
HSLhsl(64, 42%, 29%)
HSVhsv(64, 59%, 42%)
CMYKcmyk(3.8%, 0%, 59.4%, 58.4%)
CIE-LABlab(43.22, -11.09, 34.16)
CIE-LCHlch(43.22, 35.91, 108.00°)
OKLaboklab(50.67% -0.0327 0.0793)
OKLCHoklch(50.67% 0.086 112.4)
XYZxyz(11.0698, 13.3075, 4.2705)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A2B #2F2B6A
analogous
#6A4F2B #666A2B #476A2B
triadic
#666A2B #2B666A #6A2B66
tetradic
#666A2B #2B6A4F #2F2B6A #6A2B47
square
#666A2B #2B6A4F #2F2B6A #6A2B47
split-complementary
#666A2B #2B476A #4F2B6A
monochromatic
#151609 #3C3E19 #666A2B #90963D #B4BA55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666A2B#FFFFFF#000000##FFFFFF
##666A2B1.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)
#726524
Deuteranopia (green-blind)
#72672F
Tritanopia (blue-blind)
#6D645C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666a2b;
/* rgb */ color: rgb(102, 106, 43);
/* oklch */ color: oklch(50.7% 0.086 112.4);
Tailwind
colors: {
  custom: {
    50: '#939467',
    500: '#666a2b',
    950: '#000000',
  },
}
SCSS
$custom: #666a2b;
$custom-light: #939467;
$custom-dark: #000000;
JSON
{
  "hex": "#666a2b",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 43
  },
  "hsl": {
    "h": 63.81,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5067,
    "c": 0.08573,
    "h": 112.4
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#666A2B
secondary
#59559C
accent
#56D25E
background
#F9F9F6
surface
#F2F1EB
border
#CCCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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