#666A1E#666A1E

#666A1E is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.5% C 0.097 H 112.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#666A1E
RGBrgb(102, 106, 30)
HSLhsl(63, 56%, 27%)
HSVhsv(63, 72%, 42%)
CMYKcmyk(3.8%, 0%, 71.7%, 58.4%)
CIE-LABlab(43.10, -12.07, 40.13)
CIE-LCHlch(43.10, 41.90, 106.74°)
OKLaboklab(50.54% -0.0369 0.0899)
OKLCHoklch(50.54% 0.097 112.3)
XYZxyz(10.8682, 13.2268, 3.2086)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A1E #221E6A
analogous
#6A481E #666A1E #406A1E
triadic
#666A1E #1E666A #6A1E66
tetradic
#666A1E #1E6A48 #221E6A #6A1E40
square
#666A1E #1E6A48 #221E6A #6A1E40
split-complementary
#666A1E #1E406A #481E6A
monochromatic
#171807 #383A11 #666A1E #949A2C #C0C73B

Accessibility & contrast

On white

5.76
#666A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#666A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666A1E
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666A1E#FFFFFF#000000##FFFFFF
##666A1E1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726512
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#6D635B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666a1e;
/* rgb */ color: rgb(102, 106, 30);
/* oklch */ color: oklch(50.5% 0.097 112.3);
Tailwind
colors: {
  custom: {
    50: '#94945f',
    500: '#666a1e',
    950: '#000000',
  },
}
SCSS
$custom: #666a1e;
$custom-light: #94945f;
$custom-dark: #000000;
JSON
{
  "hex": "#666a1e",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 30
  },
  "hsl": {
    "h": 63.158,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50536,
    "c": 0.09715,
    "h": 112.3
  },
  "luminance": 0.13227
}

Semantic roles & 50–950 ramp

primary
#666A1E
secondary
#4A459E
accent
#49DF51
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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