#666A12#666A12

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

Color values

HEX#666A12
RGBrgb(102, 106, 18)
HSLhsl(63, 71%, 24%)
HSVhsv(63, 83%, 42%)
CMYKcmyk(3.8%, 0%, 83%, 58.4%)
CIE-LABlab(43.03, -12.68, 44.55)
CIE-LCHlch(43.03, 46.32, 105.89°)
OKLaboklab(50.45% -0.0398 0.0969)
OKLCHoklch(50.45% 0.105 112.3)
XYZxyz(10.7431, 13.1768, 2.5496)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666A12 #16126A
analogous
#6A4212 #666A12 #3A6A12
triadic
#666A12 #12666A #6A1266
tetradic
#666A12 #126A42 #16126A #6A123A
square
#666A12 #126A42 #16126A #6A123A
split-complementary
#666A12 #123A6A #42126A
monochromatic
#191A04 #343609 #666A12 #989E1B #CBD324

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666A12#FFFFFF#000000##FFFFFF
##666A121.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666a12;
/* rgb */ color: rgb(102, 106, 18);
/* oklch */ color: oklch(50.5% 0.105 112.3);
Tailwind
colors: {
  custom: {
    50: '#959459',
    500: '#666a12',
    950: '#000000',
  },
}
SCSS
$custom: #666a12;
$custom-light: #959459;
$custom-dark: #000000;
JSON
{
  "hex": "#666a12",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 62.727,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.50452,
    "c": 0.10478,
    "h": 112.3
  },
  "luminance": 0.13177
}

Semantic roles & 50–950 ramp

primary
#666A12
secondary
#3B36A2
accent
#3AEE42
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #666A12

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

Preview Lab → · Contrast checker → · Palette generator →

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