#666D2D#666D2D

#666D2D is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.4% C 0.088 H 114.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#666D2D
RGBrgb(102, 109, 45)
HSLhsl(67, 42%, 30%)
HSVhsv(67, 59%, 43%)
CMYKcmyk(6.4%, 0%, 58.7%, 57.3%)
CIE-LABlab(44.16, -12.59, 34.21)
CIE-LCHlch(44.16, 36.45, 110.20°)
OKLaboklab(51.43% -0.0367 0.0796)
OKLCHoklch(51.43% 0.088 114.7)
XYZxyz(11.4220, 13.9517, 4.5734)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D2D #342D6D
analogous
#6D542D #666D2D #466D2D
triadic
#666D2D #2D666D #6D2D66
tetradic
#666D2D #2D6D54 #342D6D #6D2D46
square
#666D2D #2D6D54 #342D6D #6D2D46
split-complementary
#666D2D #2D466D #542D6D
monochromatic
#151609 #3D421B #666D2D #8F983F #B0BB5A

Accessibility & contrast

On white

5.54
#666D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#666D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666D2D
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666D2D#FFFFFF#000000##FFFFFF
##666D2D1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746826
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#6C675F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d2d;
/* rgb */ color: rgb(102, 109, 45);
/* oklch */ color: oklch(51.4% 0.088 114.7);
Tailwind
colors: {
  custom: {
    50: '#939668',
    500: '#666d2d',
    950: '#000000',
  },
}
SCSS
$custom: #666d2d;
$custom-light: #939668;
$custom-dark: #000000;
JSON
{
  "hex": "#666d2d",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 45
  },
  "hsl": {
    "h": 66.563,
    "s": 41.558,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51429,
    "c": 0.08766,
    "h": 114.7
  },
  "luminance": 0.13952
}

Semantic roles & 50–950 ramp

primary
#666D2D
secondary
#5F579F
accent
#56D164
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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