#666A11#666A11

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

Color values

HEX#666A11
RGBrgb(102, 106, 17)
HSLhsl(63, 72%, 24%)
HSVhsv(63, 84%, 42%)
CMYKcmyk(3.8%, 0%, 84%, 58.4%)
CIE-LABlab(43.02, -12.72, 44.86)
CIE-LCHlch(43.02, 46.63, 105.83°)
OKLaboklab(50.45% -0.04 0.0974)
OKLCHoklch(50.45% 0.105 112.3)
XYZxyz(10.7351, 13.1736, 2.5075)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A11 #15116A
analogous
#6A4211 #666A11 #3A6A11
triadic
#666A11 #11666A #6A1166
tetradic
#666A11 #116A42 #15116A #6A113A
square
#666A11 #116A42 #15116A #6A113A
split-complementary
#666A11 #113A6A #42116A
monochromatic
#191A04 #333509 #666A11 #999F19 #CCD322

Accessibility & contrast

On white

5.78
#666A11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#666A11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666A11
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666A11#FFFFFF#000000##FFFFFF
##666A111.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#73671A
Tritanopia (blue-blind)
#6E635A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666a11;
/* rgb */ color: rgb(102, 106, 17);
/* oklch */ color: oklch(50.4% 0.105 112.3);
Tailwind
colors: {
  custom: {
    50: '#959459',
    500: '#666a11',
    950: '#000000',
  },
}
SCSS
$custom: #666a11;
$custom-light: #959459;
$custom-dark: #000000;
JSON
{
  "hex": "#666a11",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 17
  },
  "hsl": {
    "h": 62.697,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.50447,
    "c": 0.10528,
    "h": 112.3
  },
  "luminance": 0.13173
}

Semantic roles & 50–950 ramp

primary
#666A11
secondary
#3A35A2
accent
#39EF41
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666A11

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

Preview Lab → · Contrast checker → · Palette generator →

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