#666916#666916

#666916 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.2% C 0.101 H 111.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#666916
RGBrgb(102, 105, 22)
HSLhsl(62, 65%, 25%)
HSVhsv(62, 79%, 41%)
CMYKcmyk(2.9%, 0%, 79%, 58.8%)
CIE-LABlab(42.74, -11.95, 42.94)
CIE-LCHlch(42.74, 44.57, 105.56°)
OKLaboklab(50.23% -0.0374 0.0943)
OKLCHoklch(50.23% 0.101 111.7)
XYZxyz(10.6762, 12.9861, 2.7031)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666916 #191669
analogous
#694316 #666916 #3C6916
triadic
#666916 #166669 #691666
tetradic
#666916 #166943 #191669 #69163C
square
#666916 #166943 #191669 #69163C
split-complementary
#666916 #163C69 #431669
monochromatic
#191905 #35360B #666916 #979C21 #C8CE2B

Accessibility & contrast

On white

5.84
#666916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#666916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666916
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666916#FFFFFF#000000##FFFFFF
##6669161.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#6E6259
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #666916;
/* rgb */ color: rgb(102, 105, 22);
/* oklch */ color: oklch(50.2% 0.101 111.7);
Tailwind
colors: {
  custom: {
    50: '#95935b',
    500: '#666916',
    950: '#000000',
  },
}
SCSS
$custom: #666916;
$custom-light: #95935b;
$custom-dark: #000000;
JSON
{
  "hex": "#666916",
  "rgb": {
    "r": 102,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 62.169,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.5023,
    "c": 0.10142,
    "h": 111.7
  },
  "luminance": 0.12986
}

Semantic roles & 50–950 ramp

primary
#666916
secondary
#3F3B9F
accent
#3FE846
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666916

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

Preview Lab → · Contrast checker → · Palette generator →

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