#666F2A#666F2A

#666F2A is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 51.9% C 0.093 H 116.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#666F2A
RGBrgb(102, 111, 42)
HSLhsl(68, 45%, 30%)
HSVhsv(68, 62%, 44%)
CMYKcmyk(8.1%, 0%, 62.2%, 56.5%)
CIE-LABlab(44.75, -13.95, 36.35)
CIE-LCHlch(44.75, 38.94, 110.99°)
OKLaboklab(51.89% -0.0409 0.0838)
OKLCHoklch(51.89% 0.093 116)
XYZxyz(11.5821, 14.3610, 4.3518)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F2A #332A6F
analogous
#6F552A #666F2A #446F2A
triadic
#666F2A #2A666F #6F2A66
tetradic
#666F2A #2A6F55 #332A6F #6F2A44
square
#666F2A #2A6F55 #332A6F #6F2A44
split-complementary
#666F2A #2A446F #552A6F
monochromatic
#141608 #3D4319 #666F2A #8F9B3B #B1BF55

Accessibility & contrast

On white

5.42
#666F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#666F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666F2A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F2A#FFFFFF#000000##FFFFFF
##666F2A1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766922
Deuteranopia (green-blind)
#766A2E
Tritanopia (blue-blind)
#6C6960
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #666f2a;
/* rgb */ color: rgb(102, 111, 42);
/* oklch */ color: oklch(51.9% 0.093 116.0);
Tailwind
colors: {
  custom: {
    50: '#939867',
    500: '#666f2a',
    950: '#000000',
  },
}
SCSS
$custom: #666f2a;
$custom-light: #939867;
$custom-dark: #000000;
JSON
{
  "hex": "#666f2a",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 67.826,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.51886,
    "c": 0.09324,
    "h": 116
  },
  "luminance": 0.14361
}

Semantic roles & 50–950 ramp

primary
#666F2A
secondary
#5E54A1
accent
#53D564
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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