#666F2F#666F2F

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

Color values

HEX#666F2F
RGBrgb(102, 111, 47)
HSLhsl(68, 41%, 31%)
HSVhsv(68, 58%, 44%)
CMYKcmyk(8.1%, 0%, 57.7%, 56.5%)
CIE-LABlab(44.80, -13.50, 33.92)
CIE-LCHlch(44.80, 36.51, 111.71°)
OKLaboklab(51.95% -0.039 0.0792)
OKLCHoklch(51.95% 0.088 116.2)
XYZxyz(11.6772, 14.3990, 4.8529)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666F2F #382F6F
analogous
#6F582F #666F2F #466F2F
triadic
#666F2F #2F666F #6F2F66
tetradic
#666F2F #2F6F58 #382F6F #6F2F46
square
#666F2F #2F6F58 #382F6F #6F2F46
split-complementary
#666F2F #2F466F #582F6F
monochromatic
#17190B #3E441D #666F2F #8E9A41 #AEBB5E

Accessibility & contrast

On white

5.41
#666F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666F2F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666F2F#FFFFFF#000000##FFFFFF
##666F2F1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A29
Deuteranopia (green-blind)
#756A33
Tritanopia (blue-blind)
#6C6961
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #666f2f;
/* rgb */ color: rgb(102, 111, 47);
/* oklch */ color: oklch(51.9% 0.088 116.2);
Tailwind
colors: {
  custom: {
    50: '#93986a',
    500: '#666f2f',
    950: '#000000',
  },
}
SCSS
$custom: #666f2f;
$custom-light: #93986a;
$custom-dark: #000000;
JSON
{
  "hex": "#666f2f",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 68.438,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51946,
    "c": 0.08833,
    "h": 116.2
  },
  "luminance": 0.14399
}

Semantic roles & 50–950 ramp

primary
#666F2F
secondary
#6359A0
accent
#57D068
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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