#666C16#666C16

#666C16 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.0% C 0.105 H 113.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#666C16
RGBrgb(102, 108, 22)
HSLhsl(64, 66%, 25%)
HSVhsv(64, 80%, 42%)
CMYKcmyk(5.6%, 0%, 79.6%, 57.6%)
CIE-LABlab(43.67, -13.61, 43.79)
CIE-LCHlch(43.67, 45.86, 107.27°)
OKLaboklab(50.97% -0.042 0.0961)
OKLCHoklch(50.97% 0.105 113.6)
XYZxyz(10.9872, 13.6081, 2.8067)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666C16 #1C166C
analogous
#6C4716 #666C16 #3B6C16
triadic
#666C16 #16666C #6C1666
tetradic
#666C16 #166C47 #1C166C #6C163B
square
#666C16 #166C47 #1C166C #6C163B
split-complementary
#666C16 #163B6C #47166C
monochromatic
#181905 #36390C #666C16 #969F20 #C6D22B

Accessibility & contrast

On white

5.64
#666C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#666C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666C16
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666C16#FFFFFF#000000##FFFFFF
##666C161.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756602
Deuteranopia (green-blind)
#74681E
Tritanopia (blue-blind)
#6D655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #666c16;
/* rgb */ color: rgb(102, 108, 22);
/* oklch */ color: oklch(51.0% 0.105 113.6);
Tailwind
colors: {
  custom: {
    50: '#95955b',
    500: '#666c16',
    950: '#000000',
  },
}
SCSS
$custom: #666c16;
$custom-light: #95955b;
$custom-dark: #000000;
JSON
{
  "hex": "#666c16",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 64.186,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50969,
    "c": 0.10487,
    "h": 113.6
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#666C16
secondary
#433CA2
accent
#3FE94B
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666C16

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

Preview Lab → · Contrast checker → · Palette generator →

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