#666B16#666B16

#666B16 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.7% C 0.104 H 113.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#666B16
RGBrgb(102, 107, 22)
HSLhsl(64, 66%, 25%)
HSVhsv(64, 79%, 42%)
CMYKcmyk(4.7%, 0%, 79.4%, 58%)
CIE-LABlab(43.36, -13.06, 43.51)
CIE-LCHlch(43.36, 45.42, 106.71°)
OKLaboklab(50.72% -0.0405 0.0955)
OKLCHoklch(50.72% 0.104 113)
XYZxyz(10.8824, 13.3983, 2.7718)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666B16 #1B166B
analogous
#6B4516 #666B16 #3C6B16
triadic
#666B16 #16666B #6B1666
tetradic
#666B16 #166B45 #1B166B #6B163C
square
#666B16 #166B45 #1B166B #6B163C
split-complementary
#666B16 #163C6B #45166B
monochromatic
#181905 #36380C #666B16 #969E20 #C7D12B

Accessibility & contrast

On white

5.71
#666B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#666B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666B16
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666B16#FFFFFF#000000##FFFFFF
##666B161.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#74671D
Tritanopia (blue-blind)
#6D645B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666b16;
/* rgb */ color: rgb(102, 107, 22);
/* oklch */ color: oklch(50.7% 0.104 113.0);
Tailwind
colors: {
  custom: {
    50: '#95955b',
    500: '#666b16',
    950: '#000000',
  },
}
SCSS
$custom: #666b16;
$custom-light: #95955b;
$custom-dark: #000000;
JSON
{
  "hex": "#666b16",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 63.529,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50723,
    "c": 0.10371,
    "h": 113
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

primary
#666B16
secondary
#413BA1
accent
#3FE949
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666B16

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

Preview Lab → · Contrast checker → · Palette generator →

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