#666811#666811

#666811 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.0% C 0.103 H 111.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#666811
RGBrgb(102, 104, 17)
HSLhsl(61, 72%, 24%)
HSVhsv(61, 84%, 41%)
CMYKcmyk(1.9%, 0%, 83.7%, 59.2%)
CIE-LABlab(42.41, -11.61, 44.32)
CIE-LCHlch(42.41, 45.82, 104.68°)
OKLaboklab(49.96% -0.0369 0.0962)
OKLCHoklch(49.96% 0.103 111)
XYZxyz(10.5314, 12.7662, 2.4396)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666811 #131168
analogous
#683E11 #666811 #3A6811
triadic
#666811 #116668 #681166
tetradic
#666811 #11683E #131168 #68113A
square
#666811 #11683E #131168 #68113A
split-complementary
#666811 #113A68 #3E1168
monochromatic
#1A1A04 #323308 #666811 #9A9D1A #CDD122

Accessibility & contrast

On white

5.91
#666811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#666811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666811
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666811#FFFFFF#000000##FFFFFF
##6668111.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#716519
Tritanopia (blue-blind)
#6E6158
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #666811;
/* rgb */ color: rgb(102, 104, 17);
/* oklch */ color: oklch(50.0% 0.103 111.0);
Tailwind
colors: {
  custom: {
    50: '#959258',
    500: '#666811',
    950: '#000000',
  },
}
SCSS
$custom: #666811;
$custom-light: #959258;
$custom-dark: #000000;
JSON
{
  "hex": "#666811",
  "rgb": {
    "r": 102,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 61.379,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.49955,
    "c": 0.10306,
    "h": 111
  },
  "luminance": 0.12766
}

Semantic roles & 50–950 ramp

primary
#666811
secondary
#3735A0
accent
#39EF3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #666811

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

Preview Lab → · Contrast checker → · Palette generator →

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