#666D16#666D16

#666D16 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.2% C 0.106 H 114.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#666D16
RGBrgb(102, 109, 22)
HSLhsl(65, 66%, 26%)
HSVhsv(65, 80%, 43%)
CMYKcmyk(6.4%, 0%, 79.8%, 57.3%)
CIE-LABlab(43.97, -14.16, 44.08)
CIE-LCHlch(43.97, 46.29, 107.81°)
OKLaboklab(51.22% -0.0436 0.0967)
OKLCHoklch(51.22% 0.106 114.3)
XYZxyz(11.0933, 13.8202, 2.8421)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D16 #1D166D
analogous
#6D4816 #666D16 #3A6D16
triadic
#666D16 #16666D #6D1666
tetradic
#666D16 #166D48 #1D166D #6D163A
square
#666D16 #166D48 #1D166D #6D163A
split-complementary
#666D16 #163A6D #48166D
monochromatic
#181905 #363A0C #666D16 #96A020 #C5D32B

Accessibility & contrast

On white

5.58
#666D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#666D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666D16
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666D16#FFFFFF#000000##FFFFFF
##666D161.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766702
Deuteranopia (green-blind)
#75691E
Tritanopia (blue-blind)
#6D665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d16;
/* rgb */ color: rgb(102, 109, 22);
/* oklch */ color: oklch(51.2% 0.106 114.3);
Tailwind
colors: {
  custom: {
    50: '#95965b',
    500: '#666d16',
    950: '#000000',
  },
}
SCSS
$custom: #666d16;
$custom-light: #95965b;
$custom-dark: #000000;
JSON
{
  "hex": "#666d16",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 64.828,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.51217,
    "c": 0.10604,
    "h": 114.3
  },
  "luminance": 0.1382
}

Semantic roles & 50–950 ramp

primary
#666D16
secondary
#443CA3
accent
#3EE94C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666D16

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

Preview Lab → · Contrast checker → · Palette generator →

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