#666B2E#666B2E

#666B2E is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 51.0% C 0.084 H 113.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#666B2E
RGBrgb(102, 107, 46)
HSLhsl(65, 40%, 30%)
HSVhsv(65, 57%, 42%)
CMYKcmyk(4.7%, 0%, 57%, 58%)
CIE-LABlab(43.56, -11.38, 33.01)
CIE-LCHlch(43.56, 34.92, 109.02°)
OKLaboklab(50.95% -0.0331 0.0772)
OKLCHoklch(50.95% 0.084 113.2)
XYZxyz(11.2306, 13.5376, 4.6056)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666B2E #332E6B
analogous
#6B512E #666B2E #486B2E
triadic
#666B2E #2E666B #6B2E66
tetradic
#666B2E #2E6B51 #332E6B #6B2E48
square
#666B2E #2E6B51 #332E6B #6B2E48
split-complementary
#666B2E #2E486B #512E6B
monochromatic
#141509 #3D401C #666B2E #8F9640 #B1B85B

Accessibility & contrast

On white

5.66
#666B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#666B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666B2E
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666B2E#FFFFFF#000000##FFFFFF
##666B2E1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726628
Deuteranopia (green-blind)
#726831
Tritanopia (blue-blind)
#6C655D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #666b2e;
/* rgb */ color: rgb(102, 107, 46);
/* oklch */ color: oklch(51.0% 0.084 113.2);
Tailwind
colors: {
  custom: {
    50: '#939569',
    500: '#666b2e',
    950: '#000000',
  },
}
SCSS
$custom: #666b2e;
$custom-light: #939569;
$custom-dark: #000000;
JSON
{
  "hex": "#666b2e",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 46
  },
  "hsl": {
    "h": 64.918,
    "s": 39.869,
    "l": 30
  },
  "oklch": {
    "l": 0.50952,
    "c": 0.08398,
    "h": 113.2
  },
  "luminance": 0.13537
}

Semantic roles & 50–950 ramp

primary
#666B2E
secondary
#5E589D
accent
#58D062
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #666B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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