#666D1D#666D1D

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

Color values

HEX#666D1D
RGBrgb(102, 109, 29)
HSLhsl(65, 58%, 27%)
HSVhsv(65, 73%, 43%)
CMYKcmyk(6.4%, 0%, 73.4%, 57.3%)
CIE-LABlab(44.02, -13.79, 41.46)
CIE-LCHlch(44.02, 43.69, 108.40°)
OKLaboklab(51.27% -0.0418 0.0925)
OKLCHoklch(51.27% 0.102 114.3)
XYZxyz(11.1702, 13.8510, 3.2472)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D1D #241D6D
analogous
#6D4C1D #666D1D #3E6D1D
triadic
#666D1D #1D666D #6D1D66
tetradic
#666D1D #1D6D4C #241D6D #6D1D3E
square
#666D1D #1D6D4C #241D6D #6D1D3E
split-complementary
#666D1D #1D3E6D #4C1D6D
monochromatic
#171806 #393D10 #666D1D #939D2A #BECB3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666D1D#FFFFFF#000000##FFFFFF
##666D1D1.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)
#756710
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#6D665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d1d;
/* rgb */ color: rgb(102, 109, 29);
/* oklch */ color: oklch(51.3% 0.102 114.3);
Tailwind
colors: {
  custom: {
    50: '#94965f',
    500: '#666d1d',
    950: '#000000',
  },
}
SCSS
$custom: #666d1d;
$custom-light: #94965f;
$custom-dark: #000000;
JSON
{
  "hex": "#666d1d",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 29
  },
  "hsl": {
    "h": 65.25,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51267,
    "c": 0.10151,
    "h": 114.3
  },
  "luminance": 0.13851
}

Semantic roles & 50–950 ramp

primary
#666D1D
secondary
#4C44A2
accent
#47E154
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #666D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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