#666A10#666A10

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

Color values

HEX#666A10
RGBrgb(102, 106, 16)
HSLhsl(63, 74%, 24%)
HSVhsv(63, 85%, 42%)
CMYKcmyk(3.8%, 0%, 84.9%, 58.4%)
CIE-LABlab(43.02, -12.76, 45.16)
CIE-LCHlch(43.02, 46.93, 105.78°)
OKLaboklab(50.44% -0.0402 0.0978)
OKLCHoklch(50.44% 0.106 112.3)
XYZxyz(10.7274, 13.1705, 2.4672)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A10 #14106A
analogous
#6A4110 #666A10 #396A10
triadic
#666A10 #10666A #6A1066
tetradic
#666A10 #106A41 #14106A #6A1039
square
#666A10 #106A41 #14106A #6A1039
split-complementary
#666A10 #10396A #41106A
monochromatic
#1A1B04 #333508 #666A10 #999F18 #CCD420

Accessibility & contrast

On white

5.78
#666A10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#666A10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666A10
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666A10#FFFFFF#000000##FFFFFF
##666A101.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#736719
Tritanopia (blue-blind)
#6E635A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666a10;
/* rgb */ color: rgb(102, 106, 16);
/* oklch */ color: oklch(50.4% 0.106 112.3);
Tailwind
colors: {
  custom: {
    50: '#959458',
    500: '#666a10',
    950: '#000000',
  },
}
SCSS
$custom: #666a10;
$custom-light: #959458;
$custom-dark: #000000;
JSON
{
  "hex": "#666a10",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 16
  },
  "hsl": {
    "h": 62.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.50442,
    "c": 0.10576,
    "h": 112.3
  },
  "luminance": 0.1317
}

Semantic roles & 50–950 ramp

primary
#666A10
secondary
#3934A2
accent
#37F040
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666A10

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

Preview Lab → · Contrast checker → · Palette generator →

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