#666D2C#666D2C

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

Color values

HEX#666D2C
RGBrgb(102, 109, 44)
HSLhsl(66, 42%, 30%)
HSVhsv(66, 60%, 43%)
CMYKcmyk(6.4%, 0%, 59.6%, 57.3%)
CIE-LABlab(44.15, -12.68, 34.70)
CIE-LCHlch(44.15, 36.94, 110.07°)
OKLaboklab(51.42% -0.037 0.0806)
OKLCHoklch(51.42% 0.089 114.7)
XYZxyz(11.4030, 13.9441, 4.4732)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666D2C #332C6D
analogous
#6D542C #666D2C #456D2C
triadic
#666D2C #2C666D #6D2C66
tetradic
#666D2C #2C6D54 #332C6D #6D2C45
square
#666D2C #2C6D54 #332C6D #6D2C45
split-complementary
#666D2C #2C456D #542C6D
monochromatic
#141609 #3D411A #666D2C #8F993E #B1BC58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##666D2C#FFFFFF#000000##FFFFFF
##666D2C1.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)
#746825
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#6C675F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666d2c;
/* rgb */ color: rgb(102, 109, 44);
/* oklch */ color: oklch(51.4% 0.089 114.7);
Tailwind
colors: {
  custom: {
    50: '#939668',
    500: '#666d2c',
    950: '#000000',
  },
}
SCSS
$custom: #666d2c;
$custom-light: #939668;
$custom-dark: #000000;
JSON
{
  "hex": "#666d2c",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 44
  },
  "hsl": {
    "h": 66.462,
    "s": 42.484,
    "l": 30
  },
  "oklch": {
    "l": 0.51417,
    "c": 0.08866,
    "h": 114.7
  },
  "luminance": 0.13944
}

Semantic roles & 50–950 ramp

primary
#666D2C
secondary
#5E569F
accent
#56D263
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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