#666F11#666F11

#666F11 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.7% C 0.111 H 115.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#666F11
RGBrgb(102, 111, 17)
HSLhsl(66, 73%, 25%)
HSVhsv(66, 85%, 44%)
CMYKcmyk(8.1%, 0%, 84.7%, 56.5%)
CIE-LABlab(44.57, -15.46, 46.22)
CIE-LCHlch(44.57, 48.73, 108.49°)
OKLaboklab(51.69% -0.0476 0.1003)
OKLCHoklch(51.69% 0.111 115.4)
XYZxyz(11.2654, 14.2343, 2.6843)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F11 #1A116F
analogous
#6F4911 #666F11 #376F11
triadic
#666F11 #11666F #6F1166
tetradic
#666F11 #116F49 #1A116F #6F1137
square
#666F11 #116F49 #1A116F #6F1137
split-complementary
#666F11 #11376F #49116F
monochromatic
#181B04 #353A09 #666F11 #97A419 #C8D921

Accessibility & contrast

On white

5.46
#666F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#666F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666F11
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F11#FFFFFF#000000##FFFFFF
##666F111.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#776A1B
Tritanopia (blue-blind)
#6D685E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666f11;
/* rgb */ color: rgb(102, 111, 17);
/* oklch */ color: oklch(51.7% 0.111 115.4);
Tailwind
colors: {
  custom: {
    50: '#95985a',
    500: '#666f11',
    950: '#000000',
  },
}
SCSS
$custom: #666f11;
$custom-light: #95985a;
$custom-dark: #000000;
JSON
{
  "hex": "#666f11",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 65.745,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.51685,
    "c": 0.111,
    "h": 115.4
  },
  "luminance": 0.14234
}

Semantic roles & 50–950 ramp

primary
#666F11
secondary
#4035A6
accent
#38F049
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666F11

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

Preview Lab → · Contrast checker → · Palette generator →

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