#666F1A#666F1A

#666F1A is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.7% C 0.106 H 115.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#666F1A
RGBrgb(102, 111, 26)
HSLhsl(66, 62%, 27%)
HSVhsv(66, 77%, 44%)
CMYKcmyk(8.1%, 0%, 76.6%, 56.5%)
CIE-LABlab(44.62, -15.05, 43.22)
CIE-LCHlch(44.62, 45.77, 109.20°)
OKLaboklab(51.74% -0.0457 0.0956)
OKLCHoklch(51.74% 0.106 115.5)
XYZxyz(11.3507, 14.2684, 3.1332)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F1A #231A6F
analogous
#6F4E1A #666F1A #3C6F1A
triadic
#666F1A #1A666F #6F1A66
tetradic
#666F1A #1A6F4E #231A6F #6F1A3C
square
#666F1A #1A6F4E #231A6F #6F1A3C
split-complementary
#666F1A #1A3C6F #4E1A6F
monochromatic
#171906 #383D0E #666F1A #94A126 #BFCF34

Accessibility & contrast

On white

5.45
#666F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#666F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666F1A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F1A#FFFFFF#000000##FFFFFF
##666F1A1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776909
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#6D685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #666f1a;
/* rgb */ color: rgb(102, 111, 26);
/* oklch */ color: oklch(51.7% 0.106 115.5);
Tailwind
colors: {
  custom: {
    50: '#94985e',
    500: '#666f1a',
    950: '#000000',
  },
}
SCSS
$custom: #666f1a;
$custom-light: #94985e;
$custom-dark: #000000;
JSON
{
  "hex": "#666f1a",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 66.353,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51739,
    "c": 0.10598,
    "h": 115.5
  },
  "luminance": 0.14268
}

Semantic roles & 50–950 ramp

primary
#666F1A
secondary
#4B41A4
accent
#43E554
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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