#666511#666511

#666511 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.2% C 0.100 H 108.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#666511
RGBrgb(102, 101, 17)
HSLhsl(59, 71%, 23%)
HSVhsv(59, 83%, 40%)
CMYKcmyk(0%, 1%, 83.3%, 60%)
CIE-LABlab(41.49, -9.92, 43.51)
CIE-LCHlch(41.49, 44.63, 102.85°)
OKLaboklab(49.22% -0.0322 0.0945)
OKLCHoklch(49.22% 0.1 108.8)
XYZxyz(10.2348, 12.1729, 2.3407)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666511 #111266
analogous
#663A11 #666511 #3C6611
triadic
#666511 #116665 #651166
tetradic
#666511 #11663A #111266 #66113C
square
#666511 #11663A #111266 #66113C
split-complementary
#666511 #113C66 #3A1166
monochromatic
#1A1A04 #323108 #666511 #9A991A #CFCD22

Accessibility & contrast

On white

6.11
#666511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666511
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666511#FFFFFF#000000##FFFFFF
##6665111.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6F6319
Tritanopia (blue-blind)
#6E5E56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #666511;
/* rgb */ color: rgb(102, 101, 17);
/* oklch */ color: oklch(49.2% 0.100 108.8);
Tailwind
colors: {
  custom: {
    50: '#959058',
    500: '#666511',
    950: '#000000',
  },
}
SCSS
$custom: #666511;
$custom-light: #959058;
$custom-dark: #000000;
JSON
{
  "hex": "#666511",
  "rgb": {
    "r": 102,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 59.294,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4922,
    "c": 0.09982,
    "h": 108.8
  },
  "luminance": 0.12173
}

Semantic roles & 50–950 ramp

primary
#666511
secondary
#35369E
accent
#3CEE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #666511

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

Preview Lab → · Contrast checker → · Palette generator →

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