#666342#666342

#666342 is a mid, muted yellow. Relative luminance 0.121; OKLCH L 49.4% C 0.049 H 103.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#666342
RGBrgb(102, 99, 66)
HSLhsl(55, 21%, 33%)
HSVhsv(55, 35%, 40%)
CMYKcmyk(0%, 2.9%, 35.3%, 60%)
CIE-LABlab(41.44, -4.48, 19.22)
CIE-LCHlch(41.44, 19.73, 103.14°)
OKLaboklab(49.36% -0.0116 0.0477)
OKLCHoklch(49.36% 0.049 103.6)
XYZxyz(10.9248, 12.1420, 6.9213)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666342 #424566
analogous
#665142 #666342 #576642
triadic
#666342 #426663 #634266
tetradic
#666342 #426651 #424566 #664257
square
#666342 #426651 #424566 #664257
split-complementary
#666342 #425766 #514266
monochromatic
#1C1B12 #413F2A #666342 #8B875A #A9A57A

Accessibility & contrast

On white

6.13
#666342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#666342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666342
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666342#FFFFFF#000000##FFFFFF
##6663421.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696140
Deuteranopia (green-blind)
#6A6343
Tritanopia (blue-blind)
#6B5F5B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #666342;
/* rgb */ color: rgb(102, 99, 66);
/* oklch */ color: oklch(49.4% 0.049 103.6);
Tailwind
colors: {
  custom: {
    50: '#928f76',
    500: '#666342',
    950: '#000000',
  },
}
SCSS
$custom: #666342;
$custom-light: #928f76;
$custom-dark: #000000;
JSON
{
  "hex": "#666342",
  "rgb": {
    "r": 102,
    "g": 99,
    "b": 66
  },
  "hsl": {
    "h": 55,
    "s": 21.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.49361,
    "c": 0.04908,
    "h": 103.6
  },
  "luminance": 0.12142
}

Semantic roles & 50–950 ramp

primary
#666342
secondary
#6F7295
accent
#71BE6A
background
#F9F8F7
surface
#F1F0ED
border
#CBCBC8
text
#0D0C08
muted
#7E7D7B

Preview Lab

Preview with #666342

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

Preview Lab → · Contrast checker → · Palette generator →

#666342 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva