#666F2C#666F2C

#666F2C is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 51.9% C 0.091 H 116.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#666F2C
RGBrgb(102, 111, 44)
HSLhsl(68, 43%, 30%)
HSVhsv(68, 60%, 44%)
CMYKcmyk(8.1%, 0%, 60.4%, 56.5%)
CIE-LABlab(44.77, -13.78, 35.39)
CIE-LCHlch(44.77, 37.98, 111.27°)
OKLaboklab(51.91% -0.0401 0.082)
OKLCHoklch(51.91% 0.091 116.1)
XYZxyz(11.6188, 14.3757, 4.5451)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F2C #352C6F
analogous
#6F562C #666F2C #446F2C
triadic
#666F2C #2C666F #6F2C66
tetradic
#666F2C #2C6F56 #352C6F #6F2C44
square
#666F2C #2C6F56 #352C6F #6F2C44
split-complementary
#666F2C #2C446F #562C6F
monochromatic
#151709 #3E431B #666F2C #8E9B3D #AFBD58

Accessibility & contrast

On white

5.42
#666F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#666F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666F2C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F2C#FFFFFF#000000##FFFFFF
##666F2C1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A25
Deuteranopia (green-blind)
#766A30
Tritanopia (blue-blind)
#6C6960
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #666f2c;
/* rgb */ color: rgb(102, 111, 44);
/* oklch */ color: oklch(51.9% 0.091 116.1);
Tailwind
colors: {
  custom: {
    50: '#939868',
    500: '#666f2c',
    950: '#000000',
  },
}
SCSS
$custom: #666f2c;
$custom-light: #939868;
$custom-dark: #000000;
JSON
{
  "hex": "#666f2c",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 44
  },
  "hsl": {
    "h": 68.06,
    "s": 43.226,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.09132,
    "h": 116.1
  },
  "luminance": 0.14376
}

Semantic roles & 50–950 ramp

primary
#666F2C
secondary
#6056A1
accent
#55D366
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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