#666B1A#666B1A

#666B1A is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.7% C 0.101 H 113.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#666B1A
RGBrgb(102, 107, 26)
HSLhsl(64, 61%, 26%)
HSVhsv(64, 76%, 42%)
CMYKcmyk(4.7%, 0%, 75.7%, 58%)
CIE-LABlab(43.38, -12.86, 42.04)
CIE-LCHlch(43.38, 43.96, 107.01°)
OKLaboklab(50.75% -0.0396 0.0931)
OKLCHoklch(50.75% 0.101 113)
XYZxyz(10.9240, 13.4150, 2.9910)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666B1A #1F1A6B
analogous
#6B471A #666B1A #3D6B1A
triadic
#666B1A #1A666B #6B1A66
tetradic
#666B1A #1A6B47 #1F1A6B #6B1A3D
square
#666B1A #1A6B47 #1F1A6B #6B1A3D
split-complementary
#666B1A #1A3D6B #471A6B
monochromatic
#171906 #373A0E #666B1A #959C26 #C4CD32

Accessibility & contrast

On white

5.70
#666B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#666B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666B1A
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666B1A#FFFFFF#000000##FFFFFF
##666B1A1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73660B
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#6D645B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #666b1a;
/* rgb */ color: rgb(102, 107, 26);
/* oklch */ color: oklch(50.7% 0.101 113.0);
Tailwind
colors: {
  custom: {
    50: '#94955d',
    500: '#666b1a',
    950: '#000000',
  },
}
SCSS
$custom: #666b1a;
$custom-light: #94955d;
$custom-dark: #000000;
JSON
{
  "hex": "#666b1a",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 26
  },
  "hsl": {
    "h": 63.704,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.5075,
    "c": 0.10119,
    "h": 113
  },
  "luminance": 0.13415
}

Semantic roles & 50–950 ramp

primary
#666B1A
secondary
#4640A0
accent
#44E44E
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #666B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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