#666D1A#666D1A

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

Color values

HEX#666D1A
RGBrgb(102, 109, 26)
HSLhsl(65, 61%, 26%)
HSVhsv(65, 76%, 43%)
CMYKcmyk(6.4%, 0%, 76.1%, 57.3%)
CIE-LABlab(44.00, -13.96, 42.63)
CIE-LCHlch(44.00, 44.86, 108.13°)
OKLaboklab(51.24% -0.0426 0.0944)
OKLCHoklch(51.24% 0.104 114.3)
XYZxyz(11.1349, 13.8369, 3.0613)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D1A #211A6D
analogous
#6D4B1A #666D1A #3D6D1A
triadic
#666D1A #1A666D #6D1A66
tetradic
#666D1A #1A6D4B #211A6D #6D1A3D
square
#666D1A #1A6D4B #211A6D #6D1A3D
split-complementary
#666D1A #1A3D6D #4B1A6D
monochromatic
#171906 #383C0E #666D1A #949E26 #C1CE33

Accessibility & contrast

On white

5.57
#666D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#666D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666D1A
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666D1A#FFFFFF#000000##FFFFFF
##666D1A1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670A
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#6D665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d1a;
/* rgb */ color: rgb(102, 109, 26);
/* oklch */ color: oklch(51.2% 0.104 114.3);
Tailwind
colors: {
  custom: {
    50: '#94965d',
    500: '#666d1a',
    950: '#000000',
  },
}
SCSS
$custom: #666d1a;
$custom-light: #94965d;
$custom-dark: #000000;
JSON
{
  "hex": "#666d1a",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 26
  },
  "hsl": {
    "h": 65.06,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51244,
    "c": 0.10357,
    "h": 114.3
  },
  "luminance": 0.13837
}

Semantic roles & 50–950 ramp

primary
#666D1A
secondary
#4941A2
accent
#43E551
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #666D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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