#666A16#666A16

#666A16 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.5% C 0.103 H 112.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#666A16
RGBrgb(102, 106, 22)
HSLhsl(63, 66%, 25%)
HSVhsv(63, 79%, 42%)
CMYKcmyk(3.8%, 0%, 79.2%, 58.4%)
CIE-LABlab(43.05, -12.51, 43.22)
CIE-LCHlch(43.05, 44.99, 106.14°)
OKLaboklab(50.48% -0.039 0.0949)
OKLCHoklch(50.48% 0.103 112.3)
XYZxyz(10.7787, 13.1910, 2.7372)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A16 #1A166A
analogous
#6A4416 #666A16 #3C6A16
triadic
#666A16 #16666A #6A1666
tetradic
#666A16 #166A44 #1A166A #6A163C
square
#666A16 #166A44 #1A166A #6A163C
split-complementary
#666A16 #163C6A #44166A
monochromatic
#181905 #35370B #666A16 #979D21 #C8CF2B

Accessibility & contrast

On white

5.77
#666A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#666A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666A16
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666A16#FFFFFF#000000##FFFFFF
##666A161.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736503
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#6D635A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666a16;
/* rgb */ color: rgb(102, 106, 22);
/* oklch */ color: oklch(50.5% 0.103 112.3);
Tailwind
colors: {
  custom: {
    50: '#95945b',
    500: '#666a16',
    950: '#000000',
  },
}
SCSS
$custom: #666a16;
$custom-light: #95945b;
$custom-dark: #000000;
JSON
{
  "hex": "#666a16",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 62.857,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50476,
    "c": 0.10256,
    "h": 112.3
  },
  "luminance": 0.13191
}

Semantic roles & 50–950 ramp

primary
#666A16
secondary
#403BA0
accent
#3FE947
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666A16

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

Preview Lab → · Contrast checker → · Palette generator →

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