#666016#666016

#666016 is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 48.0% C 0.092 H 104.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#666016
RGBrgb(102, 96, 22)
HSLhsl(56, 65%, 24%)
HSVhsv(56, 78%, 40%)
CMYKcmyk(0%, 5.9%, 78.4%, 60%)
CIE-LABlab(40.00, -6.84, 40.36)
CIE-LCHlch(40.00, 40.94, 99.62°)
OKLaboklab(48.04% -0.0231 0.0888)
OKLCHoklch(48.04% 0.092 104.6)
XYZxyz(9.8076, 11.2488, 2.4135)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666016 #161C66
analogous
#663816 #666016 #446616
triadic
#666016 #166660 #601666
tetradic
#666016 #166638 #161C66 #661644
square
#666016 #166638 #161C66 #661644
split-complementary
#666016 #164466 #381666
monochromatic
#191805 #34310B #666016 #988F21 #CBBF2C

Accessibility & contrast

On white

6.46
#666016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#666016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666016
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666016#FFFFFF#000000##FFFFFF
##6660161.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C08
Deuteranopia (green-blind)
#6B601B
Tritanopia (blue-blind)
#6E5952
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #666016;
/* rgb */ color: rgb(102, 96, 22);
/* oklch */ color: oklch(48.0% 0.092 104.6);
Tailwind
colors: {
  custom: {
    50: '#958c5a',
    500: '#666016',
    950: '#000000',
  },
}
SCSS
$custom: #666016;
$custom-light: #958c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#666016",
  "rgb": {
    "r": 102,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 55.5,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48038,
    "c": 0.09178,
    "h": 104.6
  },
  "luminance": 0.11248
}

Semantic roles & 50–950 ramp

primary
#666016
secondary
#3B429D
accent
#4DE840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #666016

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

Preview Lab → · Contrast checker → · Palette generator →

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