#666B40#666B40

#666B40 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.2% C 0.063 H 114.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#666B40
RGBrgb(102, 107, 64)
HSLhsl(67, 25%, 34%)
HSVhsv(67, 40%, 42%)
CMYKcmyk(4.7%, 0%, 40.2%, 58%)
CIE-LABlab(43.81, -9.36, 23.46)
CIE-LCHlch(43.81, 25.26, 111.75°)
OKLaboklab(51.24% -0.0256 0.0575)
OKLCHoklch(51.24% 0.063 114.1)
XYZxyz(11.6627, 13.7105, 6.8815)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666B40 #45406B
analogous
#6B5A40 #666B40 #506B40
triadic
#666B40 #40666B #6B4066
tetradic
#666B40 #406B5A #45406B #6B4050
square
#666B40 #406B5A #45406B #6B4050
split-complementary
#666B40 #40506B #5A406B
monochromatic
#1D1E12 #414529 #666B40 #8B9157 #A8AE77

Accessibility & contrast

On white

5.61
#666B40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#666B40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666B40
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666B40#FFFFFF#000000##FFFFFF
##666B401.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71673D
Deuteranopia (green-blind)
#716842
Tritanopia (blue-blind)
#6B6660
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666b40;
/* rgb */ color: rgb(102, 107, 64);
/* oklch */ color: oklch(51.2% 0.063 114.1);
Tailwind
colors: {
  custom: {
    50: '#929575',
    500: '#666b40',
    950: '#000000',
  },
}
SCSS
$custom: #666b40;
$custom-light: #929575;
$custom-dark: #000000;
JSON
{
  "hex": "#666b40",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 64
  },
  "hsl": {
    "h": 66.977,
    "s": 25.146,
    "l": 33.529
  },
  "oklch": {
    "l": 0.51236,
    "c": 0.06292,
    "h": 114.1
  },
  "luminance": 0.1371
}

Semantic roles & 50–950 ramp

primary
#666B40
secondary
#736E99
accent
#66C271
background
#F9F9F7
surface
#F1F1ED
border
#CBCBC8
text
#0D0D08
muted
#7E7E7B

Preview Lab

Preview with #666B40

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

Preview Lab → · Contrast checker → · Palette generator →

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